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

David Bremner david at tethera.net
Wed Mar 14 18:54:06 PDT 2018


Tomi Ollila <tomi.ollila at iki.fi> 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.

d


More information about the notmuch mailing list