unofficial mirror of
 help / color / mirror / Atom feed
From: David Bremner <>
To: "Jorge P. de Morais Neto" <>,
Subject: Re: Programmatically set "From", Ispell dictionary and signature based on recipient
Date: Tue, 17 Nov 2020 16:54:47 -0400
Message-ID: <> (raw)
In-Reply-To: <>

"Jorge P. de Morais Neto" <> writes:

> 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" <>~
> 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?

An easy-ish solution would be to use message-templ (available in debian
as elpa-message-templ). I say "easy-ish" because it's a bit obscure; if
you're not using Debian you'll have to install it from source.

I think there are other solutions derived from Gnu's, but I'll let
someone with personal experience speak to those.

      reply	other threads:[~2020-11-17 21:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-17 19:38 Jorge P. de Morais Neto
2020-11-17 20:54 ` David Bremner [this message]

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:

  List information:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

unofficial mirror of

This inbox may be cloned and mirrored by anyone:

	git clone --mirror notmuch/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 notmuch notmuch/ \
	public-inbox-index notmuch

Example config snippet for mirrors.
Newsgroups are available over NNTP:

AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git