Importing notmuch should not change user configuration

David Bremner david at tethera.net
Wed Aug 23 06:40:28 PDT 2017


Christoph Groth <christoph at grothesque.org> writes:

> Hello,
>
> I’m using emacs notmuch together with Gnus and I noticed that M-x 
> compose-mail stopped working properly for me since.  I identified 
> notmuch as culprit: (requre ’notmuch) sets the user-customizable 
> variable mail-user-agent.  I believe that such behavior is not 
> expected of emacs modules.
>
> A patch [1] has been proposed to fix this in 2014, but never 
> accepted.  Is there a reason why the problematic behavior has been 
> kept?

I seems like the discussion in that thread stalled without any real
concensus (I have relinked this message to that thread, hopefully). As a
general principle I agree notmuch should not be changing global varibles
just by being loaded; OTOH I have not carefully analyzed this situation.

d


More information about the notmuch mailing list