Programmatically set "From", Ispell dictionary and signature based on recipient

Subject: Programmatically set "From", Ispell dictionary and signature based on recipient

Date: Tue, 17 Nov 2020 16:38:24 -0300

To: notmuch@notmuchmail.org

Cc:

From: Jorge P. de Morais Neto


Hi.  I use Notmuch 0.31.2 on Emacs 27.1.50.  When I compose mail to a
mailing list, I would like Emacs to automatically set:
1. "From" header to ~"Jorge P. de Morais Neto" <jorge+list@disroot.org>~
2. Ispell dictionary to "en_US"
3. ~message-signature-file~ to "~/.signature--english" (and it should
   actually insert the corresponding file as signature)

Is there an easy way to do it, or do I have write Elisp and put it in
some Message mode hook?

Regards

-- 
- <https://jorgemorais.gitlab.io/justice-for-rms/>
- If an email of mine arrives at your spam box, please notify me.
- Please adopt free/libre formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
- Free/libre software for Replicant, LineageOS and Android: https://f-droid.org
- [[https://www.gnu.org/philosophy/free-sw.html][What is free software?]]
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: