Hi Andras,

I thought this post would generate more traffic; I'm very interested in
others opinions on this too, but I'll pipe in.

On Wed, Jan 24, 2018 at 02:13:54PM +0000, Andras Salamon wrote:
> Is there any reasonable use case for send-hook modifying the MUA state
> for _subsequent messages only_, but not the current message?  There are
> good _technical_ reasons due to data structures in mutt's source code,
> but I can't think of any good use cases.

Just to be clear, the send and reply hooks run after recipients (To, Cc,
Bcc) and Subject are set.  So one of those hooks containing a my_hdr
command for those particular headers won't have effect for the current
message.

However, a my_hdr in these hooks setting other headers, including From,
_will_ affect the current message.  Changes to config vars such as
$sendmail etc are also effective immediately.

I don't make much use of auto-recipients or subject transformation, so I
may have a blind spot here.  Do people feel the parent ticket represents
a broad need that Mutt doesn't address?

-- 
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA

Attachment: signature.asc
Description: PGP signature

Reply via email to