From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Default emacs init file location confusion Date: Sat, 11 Jan 2020 09:58:02 +0200 Message-ID: <83ftgm8lx1.fsf@gnu.org> References: <83lfqjckjn.fsf@gnu.org> <83blrfci4q.fsf@gnu.org> <837e23chdm.fsf@gnu.org> <834kx7cgmh.fsf@gnu.org> <87tv56bjop.fsf@gmail.com> <539DBEA2-E758-4CB0-B886-F908CF0525B6@gnu.org> <83pnfuaqj3.fsf@gnu.org> <83imllc3iq.fsf@gnu.org> <87eew9q4rt.fsf@windriver.com> <83tv538d0q.fsf@gnu.org> <7f532a3b-a812-3088-936c-e15a35b58654@cs.ucla.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="138752"; mail-complaints-to="usenet@blaine.gmane.org" Cc: rpluim@gmail.com, emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jan 11 09:00:38 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iqBfF-000FzD-BS for ged-emacs-devel@m.gmane-mx.org; Sat, 11 Jan 2020 08:58:33 +0100 Original-Received: from localhost ([::1]:55084 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iqBfD-0001iC-TD for ged-emacs-devel@m.gmane-mx.org; Sat, 11 Jan 2020 02:58:31 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55564) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iqBel-0000ZW-G6 for emacs-devel@gnu.org; Sat, 11 Jan 2020 02:58:04 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45593) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iqBel-0002tL-11; Sat, 11 Jan 2020 02:58:03 -0500 Original-Received: from [176.228.60.248] (port=4703 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iqBei-0003nX-Nz; Sat, 11 Jan 2020 02:58:01 -0500 In-reply-to: <7f532a3b-a812-3088-936c-e15a35b58654@cs.ucla.edu> (message from Paul Eggert on Fri, 10 Jan 2020 17:46:34 -0800) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:244185 Archived-At: > Cc: emacs-devel@gnu.org > From: Paul Eggert > Date: Fri, 10 Jan 2020 17:46:34 -0800 > > On 1/10/20 8:57 AM, Eli Zaretskii wrote: > >> Iʼll see if I can test it soon, unless someone beats me to it. > > Any news with this? I'd like to have this in the repository ASAP, so > > that the pretest (which is expected soonish) will have it. > > Which version is "this"? It's kind of a long thread.... > > If the idea is to go back to defaulting to .emacs.d, that's a step in > the wrong direction. I disagree, and most of the participants in this discussion disagree as well. > Instead, I suggest that when Emacs starts up in a fresh home > directory that lacks both .config/emacs and .emacs.d, Emacs creates > .config/emacs and sets up a symlink .emacs.d -> .config/emacs. I'm not going to endorse creation of symlinks by Emacs, sorry. It's bad enough that we create files and directories, before we even know they will be needed. A simple and effective solution was found in this discussion, and it was overwhelmingly agreed to. Let's implement it and see what feedback the pretest brings us. Yes, this solution is a kind of retreat from the original intent, which was proved to be too bold. But it still allows users to opt-in to using XDG if they so want, and doesn't make that too hard. So I think it's a good compromise, and we shouldn't over-engineer it any more.