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 00:24:22 +1200 Message-ID: References: <87bl7fscid.fsf@gnus.org> <87zguybhzw.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21821"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Orcon Webmail Cc: Lars Ingebrigtsen , Peter Oliver , 49424@debbugs.gnu.org To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 07 14:25:17 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 1m16c9-0005YJ-PY for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Jul 2021 14:25:17 +0200 Original-Received: from localhost ([::1]:51520 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m16c8-0002ZA-Oe for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Jul 2021 08:25:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47394) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m16bv-0002Yw-F9 for bug-gnu-emacs@gnu.org; Wed, 07 Jul 2021 08:25:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39505) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m16bu-0003lf-FE for bug-gnu-emacs@gnu.org; Wed, 07 Jul 2021 08:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m16bu-000558-9r for bug-gnu-emacs@gnu.org; Wed, 07 Jul 2021 08:25: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: Wed, 07 Jul 2021 12:25: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.162566067219489 (code B ref 49424); Wed, 07 Jul 2021 12:25:02 +0000 Original-Received: (at 49424) by debbugs.gnu.org; 7 Jul 2021 12:24:32 +0000 Original-Received: from localhost ([127.0.0.1]:51051 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m16bP-00054G-ME for submit@debbugs.gnu.org; Wed, 07 Jul 2021 08:24:31 -0400 Original-Received: from smtp-1.orcon.net.nz ([60.234.4.34]:43749) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m16bL-000541-6h for 49424@debbugs.gnu.org; Wed, 07 Jul 2021 08:24:30 -0400 Original-Received: from [10.253.37.70] (port=49207 helo=webmail.orcon.net.nz) by smtp-1.orcon.net.nz with esmtpa (Exim 4.90_1) (envelope-from ) id 1m16bG-0007k7-E6; Thu, 08 Jul 2021 00:24: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 00:24:22 +1200 In-Reply-To: <87zguybhzw.fsf@gmail.com> 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:209584 Archived-At: On 2021-07-07 21:17, Robert Pluim wrote: > If nothing exists, Emacs will create ~/.emacs.d, and use ~/.emacs as > as the init file. We can change that to use ~/.emacs.d/init.el if we > want, people who already have init files will not be affected. > I know of people who have ~/.emacs.d under version control (used on multiple machines), and on some machines additionally have a ~/.emacs file for config which is local to that particular machine. The .emacs file simply loads the init.el file. There are other ways of achieving the same thing; but I thought this one was quite a neat approach when I heard it. In other words, FYI some people's configs are definitely reliant on the current precedence order. In any case, while the sequence *could* be changed for those two files, I don't think there's any notable benefit to doing so? Even ignoring cases like the one above, that change would undoubtedly cause some confusion for no good reason. -Phil