Re: RFC: use the XDG Base Directory Specification for configuration data

Subject: Re: RFC: use the XDG Base Directory Specification for configuration data

Date: Wed, 21 Dec 2011 11:35:37 -0800

To: David Bremner, Justus Winter, notmuch mailing list

Cc:

From: Jameson Graef Rollins


On Wed, 21 Dec 2011 07:44:16 -0400, David Bremner <david@tethera.net> wrote:
> On Wed, 21 Dec 2011 12:19:38 +0100, Justus Winter <4winter@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.
part-000.sig (application/pgp-signature)

Thread: