Re: Emacs: prevent notmuch from tampering with message headers & settings

Subject: Re: Emacs: prevent notmuch from tampering with message headers & settings

Date: Thu, 13 May 2021 20:24:45 -0300

To: Tory S. Anderson

Cc: notmuch@notmuchmail.org, David Edmondson

From: David Bremner


"Tory S. Anderson" <webdev@toryanderson.com> writes:

> I send mail with either global C-x m (compose-mail) or from my gnus
> buffer when I reply to a message. In both cases, if I happen to have
> visited a notmuch search result previously, it has changed my headers
> and completion methods. Yeah, over-writing mail-user-agent seems to be
> the case -- I see that is exactly what has happened. Any idea how can
> I stop it?
>
> - Tory

You can try adding something like

(eval-after-load 'notmuch
                 (lambda () (setq mail-user-agent 'message-user-agent)))

to your emacs startup file (e.g. .emacs.d/init.el)
                 
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: