From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#49424: 27.2; Misdocumented default initialisation file Date: Wed, 07 Jul 2021 15:08:21 +0200 Message-ID: <87sg0qb7ay.fsf@gmail.com> References: <87bl7fscid.fsf@gnus.org> <87zguybhzw.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39753"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen , Peter Oliver , 49424@debbugs.gnu.org To: Phil Sainty Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 07 15:09:11 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 1m17Ic-000A8Q-H1 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Jul 2021 15:09:10 +0200 Original-Received: from localhost ([::1]:54614 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m17Ia-0000iw-J5 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Jul 2021 09:09:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57414) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m17IU-0000iR-5g for bug-gnu-emacs@gnu.org; Wed, 07 Jul 2021 09:09:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39576) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m17IT-00008R-Ro for bug-gnu-emacs@gnu.org; Wed, 07 Jul 2021 09:09:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m17IT-0006Hz-Jt for bug-gnu-emacs@gnu.org; Wed, 07 Jul 2021 09:09:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Jul 2021 13:09: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.162566331224128 (code B ref 49424); Wed, 07 Jul 2021 13:09:01 +0000 Original-Received: (at 49424) by debbugs.gnu.org; 7 Jul 2021 13:08:32 +0000 Original-Received: from localhost ([127.0.0.1]:51122 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m17I0-0006H6-HN for submit@debbugs.gnu.org; Wed, 07 Jul 2021 09:08:32 -0400 Original-Received: from mail-wr1-f54.google.com ([209.85.221.54]:33435) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m17Hx-0006Gp-9k for 49424@debbugs.gnu.org; Wed, 07 Jul 2021 09:08:31 -0400 Original-Received: by mail-wr1-f54.google.com with SMTP id d2so3063861wrn.0 for <49424@debbugs.gnu.org>; Wed, 07 Jul 2021 06:08:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=NZ/HBBvRePwpK39Fmt2U3TBzPtrnUBHDelvngxeC5xA=; b=dzlVlakN/d0S6igDPu50U6ApoyDOb/IIKLLBV8WrRDdPoMtnKdOkp3xU16+KwmHxaW CuuLGvvJvDFlE6nHQ4pMgBIUrQCrQiJwtXv068cL7G0P/o8yJjUSzDE0ZX1aaXGGxn4B Q0EjCBrYJVG42dW+iaLMXSG1HSGsZo6t/m6uAParMMA7WtnpRgNg1uRi5Ee3R5wAUubx JlSX02OcktAu6+bec5UGNla5uO4YZSYf5+RPwkPxR/LvLaAnWB7t+L1ZNbZmQsz7M4eb RzkaH58U2KH8FelTHSvoRitfEOB5duZllYN94spY7oVYCOn+HgAwJh06p/E2ZwzHMuln Cd4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=NZ/HBBvRePwpK39Fmt2U3TBzPtrnUBHDelvngxeC5xA=; b=Ddwd0jvcoscYwEeH62RlT7Br8vGDGZKXBXn3QNd+dHV7wU+xRcCQ2ZwsIsCZCXMZHU Iz3d7JNo25BAIlCmUup6cVzEgzS2Boxa36eo34bWBC2JLMCV7JK78ogJxW3ZINgIZJxz KXqInydhdRy3cY4VvbuxP7IavWU6d5XZEiCo7p1Mn/XcxpqGdLwt5ixGZ03Ps9ViWAic A0r0wxJ/8rUHK0dUYlkCv2ONs4qHHZ8ktSYs0xDlA1rrO7rrrkaOz2Z9G9DAt8E/uNt4 jSChvoL7Yh3q5BhIf4qYJNcgbBgutf6FPo7NonbM50qZRdWicntDVYwTB6flkhVpnHIz FSaA== X-Gm-Message-State: AOAM530q7YD5toYW9OdPu7BnxvZ+XKNB86LvO/4roI0eSL/5yVzl3tT4 KPFEq2xigp0KLOWlksTIWdbRVSTIDb8= X-Google-Smtp-Source: ABdhPJyseSx3nwXc0gpfjhl/rcPozZ36lo8dCZC/hPxn7MHr49rtBsICtvLK23ZZ5ty8L35bcUIWXA== X-Received: by 2002:adf:dc8b:: with SMTP id r11mr28493542wrj.363.1625663303118; Wed, 07 Jul 2021 06:08:23 -0700 (PDT) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id l2sm18700673wms.20.2021.07.07.06.08.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Jul 2021 06:08:22 -0700 (PDT) In-Reply-To: (Phil Sainty's message of "Thu, 08 Jul 2021 00:24: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:209587 Archived-At: >>>>> On Thu, 08 Jul 2021 00:24:22 +1200, Phil Sainty said: Phil> 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. >> Phil> I know of people who have ~/.emacs.d under version control (used = on Phil> multiple machines), and on some machines additionally have a ~/.e= macs Phil> file for config which is local to that particular machine. The .= emacs Phil> file simply loads the init.el file. That=CA=BCs a different branch of the startup logic :-) If we change things so that ~/.emacs.d/init.el is used only if there is no .emacs, they would not be affected. I think this is already the case, but I may be misremembering Phil> There are other ways of achieving the same thing; but I thought t= his Phil> one was quite a neat approach when I heard it. Phil> In other words, FYI some people's configs are definitely reliant = on Phil> the current precedence order. Phil> In any case, while the sequence *could* be changed for those two Phil> files, I don't think there's any notable benefit to doing so? Ev= en Phil> ignoring cases like the one above, that change would undoubtedly Phil> cause some confusion for no good reason. I=CA=BCm not proposing changing the sequence, only what happens in the case where there are no init files at all. It would eliminate the 'why is emacs creating .emacs.d but then not using it' confusion. Robert --=20