[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master a4144af 1/2: Prefer ~/.config/emacs to ~/.emacs.d i

From: Eli Zaretskii
Subject: [Emacs-diffs] master a4144af 1/2: Prefer ~/.config/emacs to ~/.emacs.d if neither exists
Date: Fri, 30 Aug 2019 15:34:08 +0300

  branch: master
  commit a4144af909c3a6baf381659bf158e254b28ee002
  Author: Paul Eggert <address@hidden>
  Commit: Paul Eggert <address@hidden>

      Prefer ~/.config/emacs to ~/.emacs.d if neither exists

      That way, when Emacs starts in a fresh home directory,
      it prefers the new (XDG) convention rather than the old one.
      * lisp/files.el (locate-user-emacs-file): Make the parent
      directories of user-emacs-directory if needed.  This is useful
      if user-emacs-directory is "~/.config/emacs" and "~/.config"
      does not yet exist.
      * lisp/startup.el (command-line):
      * lisp/subr.el (user-emacs-directory):
      Prefer XDG_CONFIG_HOME to ~/.emacs.d if neither exists.

We never discussed such a change, and I'm not sure I personally agree
with it.  XDG and its ~/.config directory is just one convention; why
should we go after it by default, when there's no XDG setup visible
anywhere in sight?  Why should we force this convention on platforms
other than GNU/Linux?  That doesn't sound right to me.

Please don't make such changes without discussing them first.  And
let's talk about this one now, before the related changes spread too
wide and too far (as I see emacsclient already did).

reply via email to

[Prev in Thread] Current Thread [Next in Thread]