* RFC: use the XDG Base Directory Specification for configuration data
@ 2011-12-21 11:19 Justus Winter
2011-12-21 11:44 ` David Bremner
0 siblings, 1 reply; 4+ messages in thread
From: Justus Winter @ 2011-12-21 11:19 UTC (permalink / raw)
To: notmuch mailing list
[-- Attachment #1: Type: text/plain, Size: 347 bytes --]
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/
[-- Attachment #2: .signature --]
[-- Type: application/octet-stream, Size: 17 bytes --]
love u alot @,@
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: RFC: use the XDG Base Directory Specification for configuration data
2011-12-21 11:19 RFC: use the XDG Base Directory Specification for configuration data Justus Winter
@ 2011-12-21 11:44 ` David Bremner
2011-12-21 19:35 ` Jameson Graef Rollins
0 siblings, 1 reply; 4+ messages in thread
From: David Bremner @ 2011-12-21 11:44 UTC (permalink / raw)
To: Justus Winter, notmuch mailing list
On Wed, 21 Dec 2011 12:19:38 +0100, Justus Winter <4winter@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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: RFC: use the XDG Base Directory Specification for configuration data
2011-12-21 11:44 ` David Bremner
@ 2011-12-21 19:35 ` Jameson Graef Rollins
2012-01-12 17:19 ` Pieter Praet
0 siblings, 1 reply; 4+ messages in thread
From: Jameson Graef Rollins @ 2011-12-21 19:35 UTC (permalink / raw)
To: David Bremner, Justus Winter, notmuch mailing list
[-- Attachment #1: Type: text/plain, Size: 1099 bytes --]
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.
[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: RFC: use the XDG Base Directory Specification for configuration data
2011-12-21 19:35 ` Jameson Graef Rollins
@ 2012-01-12 17:19 ` Pieter Praet
0 siblings, 0 replies; 4+ messages in thread
From: Pieter Praet @ 2012-01-12 17:19 UTC (permalink / raw)
To: Jameson Graef Rollins, David Bremner, Justus Winter,
notmuch mailing list
On Wed, 21 Dec 2011 11:35:37 -0800, Jameson Graef Rollins <jrollins@finestructure.net> wrote:
> On Wed, 21 Dec 2011 07:44:16 -0400, David Bremner <david@tethera.net> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-01-12 17:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-21 11:19 RFC: use the XDG Base Directory Specification for configuration data Justus Winter
2011-12-21 11:44 ` David Bremner
2011-12-21 19:35 ` Jameson Graef Rollins
2012-01-12 17:19 ` Pieter Praet
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).