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:10:24 +0200 Message-ID: <87o8beb77j.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="9637"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 49424@debbugs.gnu.org To: Rudolf Schlatte Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 07 15:11:12 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 1m17Ka-0002Kf-CE for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Jul 2021 15:11:12 +0200 Original-Received: from localhost ([::1]:55210 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m17KZ-00018w-Bq for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Jul 2021 09:11:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57942) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m17KQ-00018f-QT for bug-gnu-emacs@gnu.org; Wed, 07 Jul 2021 09:11:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39582) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m17KQ-0000Nx-3U for bug-gnu-emacs@gnu.org; Wed, 07 Jul 2021 09:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m17KQ-0006Lw-07 for bug-gnu-emacs@gnu.org; Wed, 07 Jul 2021 09:11: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: Wed, 07 Jul 2021 13:11: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.162566343624379 (code B ref 49424); Wed, 07 Jul 2021 13:11:01 +0000 Original-Received: (at 49424) by debbugs.gnu.org; 7 Jul 2021 13:10:36 +0000 Original-Received: from localhost ([127.0.0.1]:51128 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m17K0-0006L9-0S for submit@debbugs.gnu.org; Wed, 07 Jul 2021 09:10:36 -0400 Original-Received: from mail-wm1-f54.google.com ([209.85.128.54]:37641) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m17Jv-0006Kj-5u for 49424@debbugs.gnu.org; Wed, 07 Jul 2021 09:10:34 -0400 Original-Received: by mail-wm1-f54.google.com with SMTP id y21-20020a7bc1950000b02902161fccabf1so972168wmi.2 for <49424@debbugs.gnu.org>; Wed, 07 Jul 2021 06:10:31 -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=1A8uyEXKVqbrzL7Hy4i+ZdlBkmvoJXCYlFciz08swH0=; b=SnAD01wocBQfaKzo5RGoug3F88Zo9vyR1Bh71AGwYsy6VMqA9NLMclRU6YtjpZvj25 cQlZlDE/m7n70gtSzvxTUStMRcWBK55HVszbqcH4gPSxPMNWyn9MITEk1fuRFcVtSgh7 HFxvjHUKRit/gJe8Hqqgzw2jgh8Cj/hTbV9ZRgF2fvZB1Utl/gATUsHZAK//Rf3vrZnp u6lQf+afx1cwgwOYw57aSkpCXlOgGMAw3vJ6KXFA9ftKESFo2DMTxtUFTrXKZiLnvR1W rAsUY3Fc3D4eDy4i1m0gmsY60MxygJ2b2skWSFg2Y9W/NcMK9LMzJnX0Xb7t8JEguj4M TCmQ== 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=1A8uyEXKVqbrzL7Hy4i+ZdlBkmvoJXCYlFciz08swH0=; b=JyOZ9tsNmcdPtRE602IZrpvfEPey6W/slNjQtfP/nVYZIqE7ZXnsZH7hj8JSma1E2C Uiv6xQA8P5k3Oo/naZj0/OTt9fxGL+kXNVJ44mhvzWZuVgOP+vg2Qe1OFF0e5WYLa0k6 4cuySKVzjE/+2QASjgXyB8D2CsHsOb5YaioYgdbB5ygVvQvXpMlhwtyf93OFVmojd3Wk g44TPeE0JENKVgfQJMzNPKqGI4vxlOBws62n6DKQf/mJrMb8TnPJBNJslnjUD/kBM+rd m8mo0oqa+ieC52YBJAcPjQ3axtEdMMf8g9Ceu22MeDZGvSIiSDJKXmHUINtvcC4T0jA/ XhwA== X-Gm-Message-State: AOAM531EzfaZgmSNXAzz/hrN05ZNAHvrw+bW0KYX4//acDNpXStx8Jhz n6EwUN436k9NCAC5jl/UKsFt//rOxKk= X-Google-Smtp-Source: ABdhPJxbexrTUVgwcpMAJoiiz8Fux2nXmjmo8nVkTtjhnQeFJcgxspjRU/pOGr63n068y/nLhlLOug== X-Received: by 2002:a7b:c002:: with SMTP id c2mr26663630wmb.118.1625663425265; Wed, 07 Jul 2021 06:10:25 -0700 (PDT) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id e8sm20499797wrq.10.2021.07.07.06.10.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Jul 2021 06:10:24 -0700 (PDT) In-Reply-To: (Rudolf Schlatte's message of "Wed, 07 Jul 2021 13:28:30 +0200") 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:209588 Archived-At: >>>>> On Wed, 07 Jul 2021 13:28:30 +0200, Rudolf Schlatte said: Rudolf> Robert Pluim writes: >> Emacs will prefer the XDG path if it exists and .emacs.d/init.el and >> .emacs don=CA=BCt. Similarly Emacs will prefer .emacs.d/init.el if it >> exists and .emacs doesn=CA=BCt. Rudolf> I wonder if it would make sense to warn during startup if more = than one Rudolf> of these files exist, something like: "Warning: multiple init f= iles Rudolf> detected. Using ~/.emacs as init file, ignoring ~/.emacs.d/ini= t.el" A warning prominent enough for people to notice would also be annoying enough that people would complain about us changing the status quo out from under them. The best we could do is putting something in *Messages*, I suspect Robert --=20