On Mon, Oct 21, 2013 at 12:24:00AM -0400, Matt Rechkemmer wrote:
Lately, I've found myself needing to change my replies' From address and
signature based on which address the original message was sent to. I
thought reply-hooks would be perfect for this, but I kept getting jammed up
on my default send-hook. I dug this gem out of the archive from 2002:
However, you can inhibit send-hook's in the reply case by using the
pattern '! ~Q' (not-replied) in the send-hook to tell when reply-hook's
have been executed.
Oh, how I wish this was in the documentation near reply-hooks.
Perhaps it could be added in the future?
Good idea, I just updated the manual with that snippet.
https://dev.mutt.org/trac/changeset/6325/
--
PGP key 4096R/4054DBFA DD1E A7F4 7860 2D5E 7BDE 459E DB99 9B42 4054 DBFA