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: Wed, 08 Jan 2020 12:49:28 +0200 Message-ID: References: <83y2ukc55g.fsf@gnu.org> <85C8025D-ACFD-4DEB-B030-E46B3109323E@gnu.org> <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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="125992"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: K-9 Mail for Android Cc: "Mingde \(Matthew\) Zeng" , smartlitchi@gmail.com, =?ISO-8859-1?Q?Elias_M=E5rtenson?= To: emacs-devel@gnu.org,Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jan 08 11:50:20 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 1ip8uY-000Hz5-DI for ged-emacs-devel@m.gmane-mx.org; Wed, 08 Jan 2020 11:50:02 +0100 Original-Received: from localhost ([::1]:41780 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ip8uX-0003Fj-3a for ged-emacs-devel@m.gmane-mx.org; Wed, 08 Jan 2020 05:50:01 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56650) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ip8u5-0002nv-81 for emacs-devel@gnu.org; Wed, 08 Jan 2020 05:49:34 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:36111) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ip8u5-0003Nd-3a; Wed, 08 Jan 2020 05:49:33 -0500 Original-Received: from [176.12.180.157] (port=34103 helo=[10.212.47.98]) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ip8u4-0004k1-EV; Wed, 08 Jan 2020 05:49:32 -0500 In-Reply-To: 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:244114 Archived-At: On January 8, 2020 12:22:12 PM GMT+02:00, Robert Pluim = wrote: > >>>>> On Wed, 08 Jan 2020 12:05:57 +0200, Eli Zaretskii > said: > >> hence I=CA=BCd prefer: > >>=20 > >> Use the XDG directory if it exists, but don=CA=BCt create > >> it=2E Otherwise, use ~/=2Eemacs=2Ed (and create it if necessary)= =2E >=20 > Eli> This is IMO a much more invasive change, and therefore > inappropriate > Eli> for the release branch=2E The current code relies on > Eli> user-emacs-directory to exist=2E Lifting this restriction should > be a > Eli> separate change, and we should do it on master=2E >=20 > I didn=CA=BCt propose making user-emacs-directory not exist=2E I propose= d > creating only ~/=2Eemacs=2Ed (and then using it)=2E That would mean we sometimes prefer XDG and sometimes =2Eemacs=2Ed, someth= ing that IMO will be harder to explain and document, and easier to become c= onfused about=2E