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 09:23:27 +0300 Message-ID: <83h7h5e334.fsf@gnu.org> References: <87bl7fscid.fsf@gnus.org> <87zguybhzw.fsf@gmail.com> <995892f5-e466-ada6-a64a-e1199d4e33a6@froglet.home.mavit.org.uk> <831r8aezu6.fsf@gnu.org> <05beaaf-113c-1260-e58-a4736396a765@froglet.home.mavit.org.uk> <83tul5exg2.fsf@gnu.org> <79b0205e-b8c5-d11c-5b78-812c352d755@froglet.home.mavit.org.uk> 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="3686"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 49424@debbugs.gnu.org, rpluim@gmail.com To: Peter Oliver Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 08 08:24:10 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 1m1NSE-0000kQ-9y for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Jul 2021 08:24:10 +0200 Original-Received: from localhost ([::1]:57682 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1NSC-0007nG-7l for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Jul 2021 02:24:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51014) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1NS6-0007n8-2v for bug-gnu-emacs@gnu.org; Thu, 08 Jul 2021 02:24:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42541) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m1NS5-0006XW-RN for bug-gnu-emacs@gnu.org; Thu, 08 Jul 2021 02:24:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m1NS5-0002LJ-N8 for bug-gnu-emacs@gnu.org; Thu, 08 Jul 2021 02: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 06: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.16257254018954 (code B ref 49424); Thu, 08 Jul 2021 06:24:01 +0000 Original-Received: (at 49424) by debbugs.gnu.org; 8 Jul 2021 06:23:21 +0000 Original-Received: from localhost ([127.0.0.1]:54087 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1NRQ-0002KL-Tl for submit@debbugs.gnu.org; Thu, 08 Jul 2021 02:23:21 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53232) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1NRO-0002K9-Vd for 49424@debbugs.gnu.org; Thu, 08 Jul 2021 02:23:19 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56648) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1NRJ-0006Lp-5E; Thu, 08 Jul 2021 02:23:13 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2355 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 1m1NRI-00006l-P6; Thu, 08 Jul 2021 02:23:13 -0400 In-Reply-To: <79b0205e-b8c5-d11c-5b78-812c352d755@froglet.home.mavit.org.uk> (message from Peter Oliver on Wed, 7 Jul 2021 22:51:43 +0100 (BST)) 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:209657 Archived-At: > Date: Wed, 7 Jul 2021 22:51:43 +0100 (BST) > From: Peter Oliver > cc: rpluim@gmail.com, larsi@gnus.org, 49424@debbugs.gnu.org > > > The info page “49.4.4 How Emacs Finds Your Init File” says: > > > > > For brevity the rest of the Emacs documentation generally uses just > > > the current default location ‘~/.emacs.d/init.el’ for the init file. > > > > However, this seems to be inaccurate: if I start Emacs as a new user > > and make a customisation, that customisation is written to ~/.emacs. > > > > How can a simplifying convention in a manual be "inaccurate"? And > > what does that convention have to do with the order and logic of how > > Emacs actually looks for the init file? > > I understand the sentence to be making two assertions: > > 1. Throughout the documentation, “~/.emacs.d/init.el” will be used as a shorthand for “the initialisation file”, whatever filename that happens to have. > 2. The default location of the initialisation file is “~/.emacs.d/init.el”. > > Neither is true. The 2nd one is not what that sentence says. If the 1st one is incorrect, it should be fixed to reflect the truth. But that has nothing to do with the rest of this discussion, which is about the actual method and order Emacs uses to find the init file(s).