Re: Consider following XDG base directory specification

Subject: Re: Consider following XDG base directory specification

Date: Mon, 24 Oct 2022 15:39:46 +0200

To: David Bremner

Cc: notmuch@notmuchmail.org

From: Dario


Thanks for replying thank you very much for pointing me in the right
direction. I guess I didn't RTFM properly. Environment variables are
good enough for me.
Keep up the good work.

On 2022-10-24 08:21:42-0300, David Bremner wrote:
> Dario <piombo.dario@gmail.com> writes:
> 
> > I apologize in advance if the issue has already been raised by somebody else
> > but I couldn't find anything on the bug tracker and furthermore I'm one of
> > those freaks who prefer a de-cluttered home directory. ;-)
> >
> > Instead of saving config file in $HOME/.notmuch-config,
> > ${XDG_CONFIG_HOME:-$HOME/notmuch}/notmuch-config (notmuchrc is a nice name too)
> > should be used for unix-based operating systems according to the XDG Base Directory Specification.
> >
> 
> See 
> 
>     https://notmuchmail.org/doc/latest/man1/notmuch-config.html#configuration
> 
> > As well as keeping the home directory clean, the semantic separation of config,
> > runtime data, cache data and user-local software by the spec is helpful to users
> > and other tools (e.g. backup software).
> >
> > In terms of migration, I would suggest using the xdg-compilant config location
> > if it exists and falling back to the current default location.
> 
> The priority of configurations is unlikely to change at this point. Too
> much potential for breakage for too little gain.
> 
> d
> 
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: