Re: Bug#190200: pgp-auto-decode patch superfluous with current mutt
[ crosspost from Debian Bug#190200 to mutt-dev, context on ]
[<URL:http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=190200>]
On Wednesday, May 26, 2004 at 1:41:20 AM +0200, Adeodato Simó wrote:
> can you tell me any significant advantages does the
> [ddm.pgp-auto-decode] patch offer over the following hook
>| message-hook '!(~g|~G) ~b"^-----BEGIN\ PGP\ (SIGNED\ )?MESSAGE"' "exec
>check-traditional-pgp"
> this hook, which previously caused mutt to hang on some messages, is
> now considered "safe" by upstream
I haven't compared, so let's ask on mutt-dev. If I'm not mistaken,
come to mind from previous discussions two advantages:
-1) ddm.pgp-auto-decode does it's job in all necessary cirumstances,
massage-hook triggers only in some, or too late. Searching/limiting with
$thorough_search on works OK with patch, not hook. Same for replying to
multiple tagged mails. Perhaps same for any reply from index. Other
notable cases?
-2) hook unnecessarily rescans a normal mail each time you redisplay
it, say on $display_filter change, when patch scans only the first time
and remembers status.
Other advantages?
> or, if you don't want signatures automatically checked:
>| message-hook '!(~g|~G) ~b"^-----BEGIN\ PGP\ MESSAGE"' "exec
>check-traditional-pgp"
Better the 1st hook above and unset $pgp_verify_sig. This avoids
seeing and quoting raw PGP kludges.
Bye! Alain.
--
I read Debian Mutt BTS, and Debian Mutt PTS mailing list:
No need to CC me, thank you.