GNU bug report logs - #583
Use XDG basedir spec for configuration files?

Previous Next

Package: emacs;

Reported by: ferkiwi+a <at> gmail.com

Date: Mon, 21 Jul 2008 07:05:06 UTC

Severity: wishlist

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Forwarded to http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00637.html

Full log


Message #41 received at 583 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: ferkiwi <at> gmail.com, 583 <at> debbugs.gnu.org
Subject: Re: bug#583: Use XDG basedir spec for configuration files?
Date: Wed, 28 Aug 2019 22:14:07 -0400
Paul Eggert wrote:

>> ~/.emacs.d/ -> ~/.config/emacs/?
>
> Yes, that's what Emacs basically has in master now. I don't see where
> Fernando mentioned ELPA, though.

He didn't. Elpa may not even have existed when this report was opened.
I was using it as an example.

> And it's not clear that an ELPA package's files should be considered
> "user specific data files" (XDG_DATA_HOME) as opposed to "user
> specific configuration files" (XDG_CONFIG_HOME).

It seems clear to me. They are data, not configuration. You would not
install them under /etc, but somewhere like /usr/share.

> For what it's worth, I found an old directory named '~/.gimp-2.8' and
> a newer one named '~/.config/GIMP/2.10' with similar structure. It
> appears that when GIMP made the transition to XDG style in GIMP
> version 2.9.2, it did what Emacs just did in master now: that is, GIMP
> moved all its stuff into ~/config/GIMP. Although I don't use GIMP
> plug-ins, the GIMP plug-ins directory moved too.

IMO "dump everything under ~/.config/emacs" isn't a proper
implementation, even if some other packages have done this.




This bug report was last modified 5 years and 313 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.