Re: [PATCH 1/2] cli: looking for config file in $XDG_CONFIG_HOME

Subject: Re: [PATCH 1/2] cli: looking for config file in $XDG_CONFIG_HOME

Date: Wed, 14 Mar 2018 22:54:06 -0300

To: Tomi Ollila, sh!zeeg,


From: David Bremner

Tomi Ollila <> writes:

> Interesting stuff -- IIRC we tried something like this like 5 years ago
> ... and now we've been discussing about other options ...

Yes, several more radical changes have been proposed. This series
(modulo issues Tomi points out) is relatively minor so we could probably
entertain some version of it while we think about the harder issues
related to configuration stored in the database.

> Anyway, this would break status quo and current users' environments,
> and secondly it looks like all fails unless this /notmuch/ directory
> in XDG_CONFIG_HOME / ~/.config exists.

There doesn't seem to be a good reason to drop ~/.notmuch-config
completely here. As Tomi notes, that would break notmuch for all current
users. I suppose I could live with $XDG_CONFIG_HOME/notmuch/config (or
whatever) taking precedence if it exists.

notmuch mailing list