From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#49424: 27.2; Misdocumented default initialisation file Date: Thu, 08 Jul 2021 10:23:57 +0300 Message-ID: <83a6mxe0aa.fsf@gnu.org> References: <87bl7fscid.fsf@gnus.org> <87zguybhzw.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17518"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, p.d.oliver@mavit.org.uk, 49424@debbugs.gnu.org, rpluim@gmail.com To: Phil Sainty Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 08 09:25:25 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m1OPV-0004Mu-HK for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Jul 2021 09:25:25 +0200 Original-Received: from localhost ([::1]:32914 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1OPU-0000C3-A4 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Jul 2021 03:25:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60062) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1OOA-0006nq-7h for bug-gnu-emacs@gnu.org; Thu, 08 Jul 2021 03:24:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42603) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m1OO9-0007j3-W9 for bug-gnu-emacs@gnu.org; Thu, 08 Jul 2021 03:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m1OO9-0003pa-Tg for bug-gnu-emacs@gnu.org; Thu, 08 Jul 2021 03:24:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Jul 2021 07:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49424 X-GNU-PR-Package: emacs Original-Received: via spool by 49424-submit@debbugs.gnu.org id=B49424.162572903314709 (code B ref 49424); Thu, 08 Jul 2021 07:24:01 +0000 Original-Received: (at 49424) by debbugs.gnu.org; 8 Jul 2021 07:23:53 +0000 Original-Received: from localhost ([127.0.0.1]:54149 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1OO0-0003pB-KG for submit@debbugs.gnu.org; Thu, 08 Jul 2021 03:23:52 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34046) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1ONx-0003ow-DK for 49424@debbugs.gnu.org; Thu, 08 Jul 2021 03:23:51 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:57404) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1ONr-0007eE-4l; Thu, 08 Jul 2021 03:23:43 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2183 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1ONq-0007VL-L8; Thu, 08 Jul 2021 03:23:43 -0400 In-Reply-To: (message from Phil Sainty on Thu, 08 Jul 2021 13:17:22 +1200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:209660 Archived-At: > Date: Thu, 08 Jul 2021 13:17:22 +1200 > From: Phil Sainty > Cc: Lars Ingebrigtsen , 49424@debbugs.gnu.org, > Robert Pluim > > On 2021-07-08 05:58, Peter Oliver wrote: > > If we’re making a change, here, it may be worth going all the way: > > create $XDG_CONFIG_HOME/emacs if it and ~/.emacs.d don’t exist, and > > hence use $XDG_CONFIG_HOME/emacs/init.el when creating a new > > initialisation file. > > I don't agree with doing that. > > The current XDG_CONFIG_HOME behaviour is opt-in, and I think it should > stay that way, partly so that the default behaviour is consistent across > systems, but also because I think the suggested behaviour would cause > widespread confusion from users who run Emacs before creating their > ~/.emacs.d directory, and then can't figure out why their new config > isn't working. (IIRC that is exactly what happened with the original > XDG_CONFIG_HOME support code before it was adjusted to ensure that it > was opt-in behaviour, despite the fact that you needed to be running > a pre-release build of Emacs to be affected and therefore likely to > have a better understanding of things than the average newcomer.) I tend to agree with Phil here. Let's leave this part of Emacs alone for a release or two, and see how the user community reacts to the changes we did just recently. Making changes right now in this sensitive area could bring more trouble, and what practical problems are we going to solve?