From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Yuri D'Elia 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 16:20:38 +0200 Message-ID: <87h85ylop5.fsf@wavexx.thregr.org> References: <83ftlial33.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="123103"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 30 16:26:57 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 1i3hrb-000VnN-Tn for ged-emacs-devel@m.gmane.org; Fri, 30 Aug 2019 16:26:56 +0200 Original-Received: from localhost ([::1]:60322 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i3hra-0000i7-IB for ged-emacs-devel@m.gmane.org; Fri, 30 Aug 2019 10:26:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37335) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i3hlj-0005o4-UJ for emacs-devel@gnu.org; Fri, 30 Aug 2019 10:20:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i3hlh-0008Jr-N9 for emacs-devel@gnu.org; Fri, 30 Aug 2019 10:20:51 -0400 Original-Received: from 195-159-176-226.customer.powertech.no ([195.159.176.226]:58758 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i3hlh-0008AO-1i for emacs-devel@gnu.org; Fri, 30 Aug 2019 10:20:49 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1i3hlc-000Of0-U5 for emacs-devel@gnu.org; Fri, 30 Aug 2019 16:20:44 +0200 X-Injected-Via-Gmane: http://gmane.org/ Cancel-Lock: sha1:+ppHS8jp1tlqO81bYq4Hd75dhc8= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 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:239702 Archived-At: 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'm fully ambivalent about the default if none exists. 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.