From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Phil Sainty Newsgroups: gmane.emacs.bugs Subject: bug#49424: 27.2; Misdocumented default initialisation file Date: Thu, 08 Jul 2021 13:17:22 +1200 Message-ID: References: <87bl7fscid.fsf@gnus.org> <87zguybhzw.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27990"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Orcon Webmail Cc: Lars Ingebrigtsen , 49424@debbugs.gnu.org, Robert Pluim To: Peter Oliver Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 08 03:27:41 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 1m1IpJ-0007Ah-IY for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Jul 2021 03:27:41 +0200 Original-Received: from localhost ([::1]:59996 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1IpI-0006mv-Ip for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Jul 2021 21:27:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41878) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1Ifz-0001YR-1i for bug-gnu-emacs@gnu.org; Wed, 07 Jul 2021 21:18:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42293) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m1Ify-0001tX-Of for bug-gnu-emacs@gnu.org; Wed, 07 Jul 2021 21:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m1Ify-000746-Ln for bug-gnu-emacs@gnu.org; Wed, 07 Jul 2021 21:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Phil Sainty Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Jul 2021 01:18:02 +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.162570704926145 (code B ref 49424); Thu, 08 Jul 2021 01:18:02 +0000 Original-Received: (at 49424) by debbugs.gnu.org; 8 Jul 2021 01:17:29 +0000 Original-Received: from localhost ([127.0.0.1]:53835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1IfQ-0006nP-Ry for submit@debbugs.gnu.org; Wed, 07 Jul 2021 21:17:29 -0400 Original-Received: from smtp-4.orcon.net.nz ([60.234.4.59]:45859) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1IfO-0006kw-C0 for 49424@debbugs.gnu.org; Wed, 07 Jul 2021 21:17:26 -0400 Original-Received: from [10.253.37.70] (port=35288 helo=webmail.orcon.net.nz) by smtp-4.orcon.net.nz with esmtpa (Exim 4.90_1) (envelope-from ) id 1m1IfK-0000YB-Kf; Thu, 08 Jul 2021 13:17:22 +1200 Original-Received: from ip-116-251-162-85.kinect.net.nz ([116.251.162.85]) via [10.253.37.253] by webmail.orcon.net.nz with HTTP (HTTP/1.1 POST); Thu, 08 Jul 2021 13:17:22 +1200 In-Reply-To: X-Sender: psainty@orcon.net.nz X-GeoIP: -- X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- 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:209647 Archived-At: 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.) -Phil