all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] master a4144af 1/2: Prefer ~/.config/emacs to ~/.emacs.d if neither exists
Date: Sun, 01 Sep 2019 09:05:09 -0400	[thread overview]
Message-ID: <jwvlfv8i37s.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <44c7794c-29a7-65be-0838-f84807eba9bc@cs.ucla.edu> (Paul Eggert's message of "Sat, 31 Aug 2019 23:25:26 -0700")

> (1) only ~/.config/emacs (the new-convention directory) is present, where
> Emacs obviously should use that;
>
> (2) only ~/.emacs.d (the old-convention directory) is present, where Emacs
> obviously should use that;

Your terminology presumes the conclusion ;-)

I'd call them differently: There's the XDG-convention and then there's
the native-convention.

> (3) both directories are present, where I recall that we discussed that
> Emacs should use the new-convention directory; and

FWIW, I argued for the other choice but as long as ~/.config/emacs is
never automatically created, it's probably OK.

Basically the argument is "if the user consciously chose to use the
weird XDG setup, then let's obey those wishes".

> (4) neither directory is present, which we did not discuss explicitly but
> I reasoned by analogy with (3) that Emacs should also prefer the new
> convention when either the old or the new will do.

I don't think (3) and (4) need to be linked.

Making (3) prefer ~/.config/emacs basically means we're on the path to
deprecating ~/.emacs.d.  I don't think I'm ready for that.

BTW, ~/.config/emacs/init.el seems to be an exception in the XDG space
because in my experience all those ~/.config files are normally expected
to be manipulated via GUI options, rather than by editing them directly.


        Stefan




  reply	other threads:[~2019-09-01 13:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-30 12:34 [Emacs-diffs] master a4144af 1/2: Prefer ~/.config/emacs to ~/.emacs.d if neither exists Eli Zaretskii
2019-08-30 14:20 ` Yuri D'Elia
2019-08-30 14:40   ` Eli Zaretskii
2019-09-01  6:25 ` Paul Eggert
2019-09-01 13:05   ` Stefan Monnier [this message]
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=jwvlfv8i37s.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=eggert@cs.ucla.edu \
    --cc=eliz@gnu.org \
    --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.