What constitutes "user configuration files" in the XDG basedir spec?

Dieter Plaetinck dieter at plaetinck.be
Thu Mar 5 10:25:25 PST 2009


On Wed, 4 Mar 2009 22:17:43 +0100
Axel Liljencrantz <liljencrantz at gmail.com> wrote:

> 2009/3/4 Dieter Plaetinck <dieter at plaetinck.be>
> ...
> 
> >
> >
> > Imho that would fall in the config section, because the user
> > configured the variables explicitly.  Note that state vs config is
> > not about persistent vs not-persistent.  "State" and "config" (just
> > like "data", "cache" etc) are meant to categorize files.  The fact
> > that in your case your variables are first in memory and persisted
> > to disk only later does not change their "nature" (which is config,
> > imho)
> >
> 
> I didn't mean that the path the data takes while traveling to disk is
> what made it into state, I was strictly talking about the nature of
> the data stored. Another example. The next major fish release is
> planned to use universal variables to share a common command history
> between all running shells. Surely, that is state, not configuration?
> I believe it was even mentioned earlier in this discussion as an
> example of application state.
> 
> Axel

Yes indeed. that would be state :)

Dieter


More information about the xdg mailing list