RFC: use the XDG Base Directory Specification for configuration data

Jameson Graef Rollins jrollins at finestructure.net
Wed Dec 21 11:35:37 PST 2011


On Wed, 21 Dec 2011 07:44:16 -0400, David Bremner <david at tethera.net> wrote:
> On Wed, 21 Dec 2011 12:19:38 +0100, Justus Winter <4winter at informatik.uni-hamburg.de> wrote:
> > I'd like to propose to store notmuchs configuration in
> > $XDG_CONFIG_HOME/notmuch/config as suggested in the XDG Base Directory
> > Specification [0].
> 
> Can you use NOTMUCH_CONFIG to achieve what you want? 

I think the suggestion is to just look in
$XDG_CONFIG_HOME/notmuch/config (and maybe ~/.config/notmuch/config)
after ~/.notmuch-config if NOTMUCH_CONFIG isn't set.  I think that's
totally reasonable.

> On my machine all of the programs (except nottoomuch ;) ) that use
> ~/.config are gui based, and a bunch of them store binary blobs (or not
> plain text anyway) there. It might be irrational, but I don't really
> want notmuch to be associated with that crowd ;).

It's not all gui applications.  I see multiple non-gui apps storing
their config in there.  I would personally love it if everything
respected that standard.  It would clear up my home directory
significantly.

jamie.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20111221/82c0b458/attachment-0001.pgp>


More information about the notmuch mailing list