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: [Emacs-diffs] master a4144af 1/2: Prefer ~/.config/emacs to ~/.emacs.d if neither exists Date: Fri, 30 Aug 2019 17:40:01 +0300 Message-ID: <83d0gmaf9a.fsf@gnu.org> References: <83ftlial33.fsf@gnu.org> <87h85ylop5.fsf@wavexx.thregr.org> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="179484"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org To: Yuri D'Elia Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 30 16:40:25 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.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 1i3i4f-000kay-Ia for ged-emacs-devel@m.gmane.org; Fri, 30 Aug 2019 16:40:25 +0200 Original-Received: from localhost ([::1]:60922 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i3i4c-0001P9-UO for ged-emacs-devel@m.gmane.org; Fri, 30 Aug 2019 10:40:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56880) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i3i49-0001Nb-UD for emacs-devel@gnu.org; Fri, 30 Aug 2019 10:39:55 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43061) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1i3i49-0001Lr-DW; Fri, 30 Aug 2019 10:39:53 -0400 Original-Received: from [176.228.60.248] (port=1368 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1i3i49-0001GA-1W; Fri, 30 Aug 2019 10:39:53 -0400 In-reply-to: <87h85ylop5.fsf@wavexx.thregr.org> (message from Yuri D'Elia on Fri, 30 Aug 2019 16:20:38 +0200) 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:239703 Archived-At: > From: Yuri D'Elia > Date: Fri, 30 Aug 2019 16:20:38 +0200 > > On Fri, Aug 30 2019, Eli Zaretskii wrote: > > 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. > > I'd like to point out that this change also doesn't really work as > intended. > > My expectation is that if ~/.config/emacs exists, it should be preferred > as it marks a clear indication that the user wants this path. I think the change is not yet complete, so I can understand why it doesn't work consistently yet. > I'm fully ambivalent about the default if none exists. I think we should first agree on what should happen, and only then start implementing it. > Since I'd really like to follow XDG, I tried to move everything to > ~/.config/emacs, but ~/.emacs.d is still created early during startup > anyway. This causes user-emacs-directory to be set to ~/.emacs.d. Even > manually setting user-emacs-directory in early-init doesn't prevent the > directory being created. I think this is because user-emacs-directory is a defconst, see the recent discussions of bug#583.