On Jan 24, Derek D. Martin [[EMAIL PROTECTED]] wrote:
> At some point hitherto, David T-G hath spake thusly:
> > Unless I've misunderstood (and need correction), you've mixed two
> > different items: traditional checking (accomplished via esc-P) and
> > on-demand verifying (accomplished through various macros).  Can you
> > confirm or deny?
> 
> Related to this:  
> 
> IIRC, recently someone posted a macro that would essentially perform
> Esc-P on every message in a folder.  I spent the morning combing
> through the archives, but I couldn't find it.

<tag-pattern>~A<tag-prefix><check-traditional-pgp><untag-pattern>~A

It needs <enter> at the appropriate places, but that's the idea.  It also
needs to be applied when threads are not collapsed.

> Anyone have any idea what I'm talking about?  If so, could you repost
> it?  Also, is there a way to make mutt perform this every time it
> enters a folder (or, better yet, ALL of them)?

folder-hook . 'push <the above>'

> I really think this should be built into mutt (though perhaps a
> settable option, since it will likely slow down mutt's operation,
> looking for PGP messages where one may not care about them).

procmail or other MDAs will always be able to do it better, because they're
looking at the message in exactly the right way at exactly the right time.
With Mutt you're always going to have this effect not stick with the
message (so you have to do it every time), you have to apply it when you
enter the folder instead of as the message comes in, and the effect is not
available in another MUA if you need to use one, even briefly.  This is by
definition an MDA issue.  And the MDAs do it fine, so why not?

Attachment: msg23719/pgp00000.pgp
Description: PGP signature

Reply via email to