From: David Bremner <david@tethera.net>
To: Xiyue Deng <manphiz@gmail.com>, notmuch@notmuchmail.org
Subject: Re: Hooks for sending/replying to set a custom header
Date: Sat, 05 Oct 2024 11:13:15 -0300 [thread overview]
Message-ID: <877cam3af8.fsf@tethera.net> (raw)
In-Reply-To: <8734ld3xu7.fsf@debian-hx90.lan>
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.
next prev parent reply other threads:[~2024-10-05 14:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-03 7:00 Hooks for sending/replying to set a custom header Xiyue Deng
2024-10-03 15:44 ` David Bremner
2024-10-03 17:22 ` Xiyue Deng
2024-10-05 14:13 ` David Bremner [this message]
2024-10-07 5:37 ` Xiyue Deng
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877cam3af8.fsf@tethera.net \
--to=david@tethera.net \
--cc=manphiz@gmail.com \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).