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: Thu, 08 Jul 2021 10:30:48 +0200 Message-ID: <87fswpb41z.fsf@gmail.com> References: <87bl7fscid.fsf@gnus.org> <87zguybhzw.fsf@gmail.com> <83a6mxe0aa.fsf@gnu.org> 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="13079"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Phil Sainty , larsi@gnus.org, p.d.oliver@mavit.org.uk, 49424@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 08 10:31: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 1m1PRE-0003EN-RY for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Jul 2021 10:31:16 +0200 Original-Received: from localhost ([::1]:45902 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1PRC-0000ht-3c for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Jul 2021 04:31:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43988) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1PR0-0000dr-KV for bug-gnu-emacs@gnu.org; Thu, 08 Jul 2021 04:31:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42702) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m1PR0-00041X-9U for bug-gnu-emacs@gnu.org; Thu, 08 Jul 2021 04:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m1PR0-0005VZ-2w for bug-gnu-emacs@gnu.org; Thu, 08 Jul 2021 04:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Jul 2021 08:31: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.162573305921165 (code B ref 49424); Thu, 08 Jul 2021 08:31:02 +0000 Original-Received: (at 49424) by debbugs.gnu.org; 8 Jul 2021 08:30:59 +0000 Original-Received: from localhost ([127.0.0.1]:54248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1PQx-0005VJ-D1 for submit@debbugs.gnu.org; Thu, 08 Jul 2021 04:30:59 -0400 Original-Received: from mail-wr1-f52.google.com ([209.85.221.52]:43745) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1PQu-0005V3-OZ for 49424@debbugs.gnu.org; Thu, 08 Jul 2021 04:30:57 -0400 Original-Received: by mail-wr1-f52.google.com with SMTP id a13so6413683wrf.10 for <49424@debbugs.gnu.org>; Thu, 08 Jul 2021 01:30:56 -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=pgT6lV2pQREvOTO8CM3xPBh0R0a8ra5USH+Nk8e6uK8=; b=PlwwG5ZLx3cuEGFc59NDCxpXuDr+nUDxq8xBJpX/Kf8AJh4UYWyEikO8W2wyBgQZx5 Rx20Sm595xRU6OExtIQvmhvmade6YT0u7fKhyn/Wvs2aE2wbx1kfklxfheIYabDLeCQv zgcCR6knslV1eqq5E+Ljns8cOAtcnd3nnBpytPkGS/B93ahF1RA9hwEzH/XV93fw5IeH GB2thmkNQyCVQMoTHYut8U0fewk7v8NPyBFErFbGhJmiDKmbHKK3PAn7yNBg8eAA+e6Y 5Ac5EVqjOGPoyX+N5ZurC42sj1C6uXH/MJ8y2hCcr7WzEGwntvLRBb1uMkMbCrYaI93g Z5eg== 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=pgT6lV2pQREvOTO8CM3xPBh0R0a8ra5USH+Nk8e6uK8=; b=nHx362+hCJVnIXhUKmYwZNUi9B6mltkkLhHT7REBjHyn2BDjJcj644yCww/a8W4BA4 BGoBszX1/m7PSmpBcxW1YibSn9Muzz1kWIhER3NDwGIijlUM3gX7z+/fuPwHSFyXCSh+ x2znAt79vWi4cZq4kiurklr6P6sq8XOzefNw6vxUI32NFQ/oMliRMenOUyTT0q8h3cS+ 1ARw6IcaVE/tn8/NqF8dDalf02jjng1vHToah0rpImqqTQ7RSssLHW+/SGStH7ZBgPB8 6rOvv9ZK2Xuk1Db85PohL51C0Cu2e4tKDPdqsX8CoRLrH7FKceQmxwPShxXpc0acvhYK WebA== X-Gm-Message-State: AOAM531I6J61pht4Z4u9Ctq69F1trqeSEfG198e9LEFNB4CplCag6mUu JVzO2XdUtYaWRlp2YQDFrgnITXUjfW8= X-Google-Smtp-Source: ABdhPJyFtx9ms5+zBHqZfb2asprYc3QRwbAOf0/PzXBvwoU7996Pw4MUfOpI7g6dssGIY0c6cDRx6g== X-Received: by 2002:a05:6000:1107:: with SMTP id z7mr31681587wrw.228.1625733050405; Thu, 08 Jul 2021 01:30:50 -0700 (PDT) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id q19sm8564073wmc.44.2021.07.08.01.30.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Jul 2021 01:30:49 -0700 (PDT) In-Reply-To: <83a6mxe0aa.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 08 Jul 2021 10:23:57 +0300") 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:209662 Archived-At: >>>>> On Thu, 08 Jul 2021 10:23:57 +0300, Eli Zaretskii said: >> Date: Thu, 08 Jul 2021 13:17:22 +1200 >> From: Phil Sainty >> Cc: Lars Ingebrigtsen , 49424@debbugs.gnu.org, >> Robert Pluim >>=20 >> On 2021-07-08 05:58, Peter Oliver wrote: >> > If we=E2=80=99re making a change, here, it may be worth going all = the way: >> > create $XDG_CONFIG_HOME/emacs if it and ~/.emacs.d don=E2=80=99t e= xist, and >> > hence use $XDG_CONFIG_HOME/emacs/init.el when creating a new >> > initialisation file. >>=20 >> I don't agree with doing that. >> Right. We should never create $XDG_CONFIG_HOME/emacs. >> The current XDG_CONFIG_HOME behaviour is opt-in, and I think it shou= ld >> stay that way, partly so that the default behaviour is consistent ac= ross >> 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.) Eli> I tend to agree with Phil here. Let's leave this part of Emacs al= one Eli> for a release or two, and see how the user community reacts to the Eli> changes we did just recently. Making changes right now in this Eli> sensitive area could bring more trouble, and what practical proble= ms Eli> are we going to solve? By 'this part' do you mean the XDG_CONFIG_HOME related changes, or also the suggested change to prefer ~/.emacs.d/init.el when no config files exist? The latter is a relatively small change, but it=CA=BCs in a convoluted area of startup [1], so I=CA=BCd have no problem with leaving it alone. Robert Footnotes: [1] I made the change, tested it, and it gave incorrect results, so had to re-do it. Twice. --=20