unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: "Tory S. Anderson" <webdev@toryanderson.com>
Cc: notmuch@notmuchmail.org, David Edmondson <dme@dme.org>
Subject: Re: Emacs: prevent notmuch from tampering with message headers & settings
Date: Thu, 13 May 2021 20:24:45 -0300	[thread overview]
Message-ID: <87a6oydxoi.fsf@tethera.net> (raw)
In-Reply-To: <874kf6vd5x.fsf@toryanderson.com>

"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)
                 

  reply	other threads:[~2021-05-13 23:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-11 18:01 Emacs: prevent notmuch from tampering with message headers & settings Tory S. Anderson
2021-05-13 11:38 ` David Bremner
2021-05-13 15:58   ` Tory S. Anderson
2021-05-13 23:24     ` David Bremner [this message]
2021-05-19 13:42       ` Tory S. Anderson
2021-05-19 14:45         ` Tomi Ollila

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=87a6oydxoi.fsf@tethera.net \
    --to=david@tethera.net \
    --cc=dme@dme.org \
    --cc=notmuch@notmuchmail.org \
    --cc=webdev@toryanderson.com \
    /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).