Re: Hooks for sending/replying to set a custom header

Subject: Re: Hooks for sending/replying to set a custom header

Date: Sat, 05 Oct 2024 11:13:15 -0300

To: Xiyue Deng, notmuch@notmuchmail.org

Cc:

From: David Bremner


Xiyue Deng <manphiz@gmail.com> writes:

>>
>> There is also message-server-alist, which does not need a header.
>
> Thanks for the tip!  I think that should work, though I'd like a more
> notmuch-ish solution if possible.  And in fact I had some success on
> advising `notmuch-mua-mail' and reacting on 'From from `other-headers'.
>
> I wonder whether notmuch may consider adding an abnormal hook that pass
> in `headers' as an argument so that we don't need to use an advice?

I'd consider message-server-alist to be the "notmuch-ish" solution,
since we generally expect message-mode configuration to work for
notmuch-message-mode.
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: