From: Eli Zaretskii <eliz@gnu.org>
To: eggert@cs.ucla.edu (Paul Eggert)
Cc: emacs-devel@gnu.org
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 [thread overview]
Message-ID: <83ftlial33.fsf@gnu.org> (raw)
branch: master
commit a4144af909c3a6baf381659bf158e254b28ee002
Author: Paul Eggert <eggert@cs.ucla.edu>
Commit: Paul Eggert <eggert@cs.ucla.edu>
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).
next reply other threads:[~2019-08-30 12:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-30 12:34 Eli Zaretskii [this message]
2019-08-30 14:20 ` [Emacs-diffs] master a4144af 1/2: Prefer ~/.config/emacs to ~/.emacs.d if neither exists Yuri D'Elia
2019-08-30 14:40 ` Eli Zaretskii
2019-09-01 6:25 ` Paul Eggert
2019-09-01 13:05 ` Stefan Monnier
2019-09-01 13:44 ` Teemu Likonen
2019-09-01 13:56 ` Eli Zaretskii
2019-09-02 19:03 ` Paul Eggert
[not found] <20190830072451.9819.83340@vcs0.savannah.gnu.org>
[not found] ` <20190830072452.ACB48210EC@vcs0.savannah.gnu.org>
2019-08-30 14:38 ` Stefan Monnier
2019-08-30 15:20 ` Kaushal Modi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83ftlial33.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=eggert@cs.ucla.edu \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.