RFC: use the XDG Base Directory Specification for configuration data

2012-01-12 Thread Pieter Praet
On Wed, 21 Dec 2011 11:35:37 -0800, Jameson Graef Rollins  wrote:
> On Wed, 21 Dec 2011 07:44:16 -0400, David Bremner  
> wrote:
> [SNIP]
> 
> > 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.
> 

Full ACK!

> jamie.


Peace

-- 
Pieter


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

2012-01-12 Thread Pieter Praet
On Wed, 21 Dec 2011 11:35:37 -0800, Jameson Graef Rollins 
 wrote:
> On Wed, 21 Dec 2011 07:44:16 -0400, David Bremner  wrote:
> [SNIP]
> 
> > 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.
> 

Full ACK!

> jamie.


Peace

-- 
Pieter
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


RFC: use the XDG Base Directory Specification for configuration data

2011-12-21 Thread Justus Winter
Hi :)

I'd like to propose to store notmuchs configuration in
$XDG_CONFIG_HOME/notmuch/config as suggested in the XDG Base Directory
Specification [0].

Similarly $XDG_DATA_HOME/nmbug might be a more appropriate location
for nmbugs git checkout than ~/.nmbug.

Cheers,
Justus

0: http://standards.freedesktop.org/basedir-spec/latest/
-- next part --
A non-text attachment was scrubbed...
Name: .signature
Type: application/octet-stream
Size: 17 bytes
Desc: not available
URL: 



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

2011-12-21 Thread Jameson Graef Rollins
On Wed, 21 Dec 2011 07:44:16 -0400, David Bremner  wrote:
> On Wed, 21 Dec 2011 12:19:38 +0100, Justus Winter 
> <4win...@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.


pgpTv5F822hgw.pgp
Description: PGP signature
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


RFC: use the XDG Base Directory Specification for configuration data

2011-12-21 Thread Jameson Graef Rollins
On Wed, 21 Dec 2011 07:44:16 -0400, David Bremner  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: 



RFC: use the XDG Base Directory Specification for configuration data

2011-12-21 Thread David Bremner
On Wed, 21 Dec 2011 12:19:38 +0100, Justus Winter <4winter at 
informatik.uni-hamburg.de> wrote:
> Hi :)
> 
> 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? 

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 ;).

> Similarly $XDG_DATA_HOME/nmbug might be a more appropriate location
> for nmbugs git checkout than ~/.nmbug.

Similarly the environment variable NMBGIT is available.

d


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

2011-12-21 Thread David Bremner
On Wed, 21 Dec 2011 12:19:38 +0100, Justus Winter 
<4win...@informatik.uni-hamburg.de> wrote:
> Hi :)
> 
> 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? 

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 ;).

> Similarly $XDG_DATA_HOME/nmbug might be a more appropriate location
> for nmbugs git checkout than ~/.nmbug.

Similarly the environment variable NMBGIT is available.

d
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


RFC: use the XDG Base Directory Specification for configuration data

2011-12-21 Thread Justus Winter
Hi :)

I'd like to propose to store notmuchs configuration in
$XDG_CONFIG_HOME/notmuch/config as suggested in the XDG Base Directory
Specification [0].

Similarly $XDG_DATA_HOME/nmbug might be a more appropriate location
for nmbugs git checkout than ~/.nmbug.

Cheers,
Justus

0: http://standards.freedesktop.org/basedir-spec/latest/


.signature
Description: Binary data
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch