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: Tue, 07 Jan 2020 20:09:55 +0200 Message-ID: <83zhezb0jw.fsf@gnu.org> References: <83y2ukc55g.fsf@gnu.org> <85C8025D-ACFD-4DEB-B030-E46B3109323E@gnu.org> <83lfqjckjn.fsf@gnu.org> <83blrfci4q.fsf@gnu.org> <837e23chdm.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="204358"; mail-complaints-to="usenet@blaine.gmane.org" Cc: rpluim@gmail.com, lokedhs@gmail.com, smartlitchi@gmail.com, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 07 19:10:37 2020 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 1iotJJ-000kR7-6B for ged-emacs-devel@m.gmane.org; Tue, 07 Jan 2020 19:10:33 +0100 Original-Received: from localhost ([::1]:54552 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iotJC-0002tb-NC for ged-emacs-devel@m.gmane.org; Tue, 07 Jan 2020 13:10:26 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35140) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iotIb-0001hw-5W for emacs-devel@gnu.org; Tue, 07 Jan 2020 13:09:50 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52169) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iotIa-0004gj-NE; Tue, 07 Jan 2020 13:09:48 -0500 Original-Received: from [176.228.60.248] (port=1429 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iotIW-0001ia-VL; Tue, 07 Jan 2020 13:09:46 -0500 In-reply-to: (message from Stefan Monnier on Tue, 07 Jan 2020 12:57:53 -0500) 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:244085 Archived-At: > From: Stefan Monnier > Cc: Elias Mårtenson , > rpluim@gmail.com, > smartlitchi@gmail.com, emacs-devel@gnu.org > Date: Tue, 07 Jan 2020 12:57:53 -0500 > > That's why I originally suggested that if ~/.emacs.d/ exists we should > use it in preference to ~/.config/emacs/ rather than the reverse. The issue at hand is what happens when neither of these exists at startup time. So your proposal would not have helped here. We can, of course, change the preference to the opposite one when none of the two candidates exist, if that's what people prefer. > In any case, we should probably be more proactive about the problem: if > both exist we should emit a clear and visible warning. Again, that's not the situation we are discussing. > > The way to prevent the above is described in NEWS, btw. > > I think this effect is sufficiently major that we can't just say "you > should have read the NEWS". The idea was that very few will want that workaround. If everyone will want it, we should probably just summarily remove the XDG support.