At 16:55 -0500 25 Sep 2002, Eugene Lee <[EMAIL PROTECTED]> wrote: > : * Eugene Lee <[EMAIL PROTECTED]> [2002-09-25 12:33]: > : > > : > The command "send-hook '~h address' command" > : > causes Mutt to generate an error "h: not supported > : > in this mode" that isn't documented anywhere.
> I'm looking at the header "Received:" and trying to find a match within send-hooks match against the message which was just started, and thus they don't have Received: headers. My parent match patch allows parts of send-hooks to match against the message to which you are replying, but at this time ~h isn't supported for send-hooks even when matching against the parent message. Changing this would require changes to mutt's internals that I haven't yet had time to do. It would also likely require that the patch be updated more frequently as other parts of mutt change. http://www.schrab.com/aaron/mutt/patch-1.3.24.ats.parent_match.1 > I know message-hook supports ~h, but it only activates when I view the > current message. And I don't want to remember to view a message to > activate the hook. This wouldn't be a such problem with your standard message-hooks are also applied when you begin a reply, before send-hooks are applied. -- Aaron Schrab [EMAIL PROTECTED] http://www.schrab.com/aaron/ I dunno, I dream in Perl sometimes... --Larry Wall