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


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: eggert <at> cs.ucla.edu, ferkiwi+a <at> gmail.com, 583 <at> debbugs.gnu.org
Subject: bug#583: Use XDG basedir spec for configuration files?
Date: Wed, 28 Aug 2019 22:17:55 -0400
Eli Zaretskii wrote:

>> From: Glenn Morris <rgm <at> gnu.org>
>> Cc: 583 <at> debbugs.gnu.org,  ferkiwi+a <at> gmail.com,  eggert <at> cs.ucla.edu
>> Date: Wed, 28 Aug 2019 12:50:46 -0400
>> 
>> With a proper following of the XDG spec, the concept of (a single)
>> "user-emacs-directory" would no longer be present.
>
> I'm not sure I understand why.  Can you tell more?  (I know very
> little about XDG.)

It's well documented, the link in the OP still works.
See also eg https://wiki.archlinux.org/index.php/XDG_Base_Directory

IMO a true conversion of Emacs to the XDG spec would involve the
addition of new variables (user-config-directory, user-data-directory,
user-cache-directory, etc). Each use of user-emacs-directory would have
to be reviewed to see where it actually belongs. For some, it would
probably be ambiguous.




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.