GNU bug report logs - #30552
27.0.50; Incorrect link to Early Init File node and Early Init File clarification

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: Kaushal Modi <kaushal.modi@HIDDEN>; dated Tue, 20 Feb 2018 17:48:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 30552 <at> debbugs.gnu.org:


Received: (at 30552) by debbugs.gnu.org; 20 Feb 2018 19:28:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 20 14:28:14 2018
Received: from localhost ([127.0.0.1]:53221 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eoDaH-0002eD-T0
	for submit <at> debbugs.gnu.org; Tue, 20 Feb 2018 14:28:14 -0500
Received: from eggs.gnu.org ([208.118.235.92]:57493)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1eoDaG-0002e1-Or
 for 30552 <at> debbugs.gnu.org; Tue, 20 Feb 2018 14:28:12 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1eoDaA-0004A1-Oj
 for 30552 <at> debbugs.gnu.org; Tue, 20 Feb 2018 14:28:07 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,T_RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60209)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1eoDa7-00047W-0N; Tue, 20 Feb 2018 14:28:03 -0500
Received: from [176.228.60.248] (port=3859 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1eoDa6-00074x-E5; Tue, 20 Feb 2018 14:28:02 -0500
Date: Tue, 20 Feb 2018 21:28:12 +0200
Message-Id: <83sh9v796b.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Kaushal Modi <kaushal.modi@HIDDEN>
In-reply-to: <CAFyQvY05qPsK4X4sh3LiA3grax8_F5+S38p8cXUmk3vsa+=rcA@HIDDEN>
 (message from Kaushal Modi on Tue, 20 Feb 2018 17:47:32 +0000)
Subject: Re: bug#30552: 27.0.50;
 Incorrect link to Early Init File node and Early Init File
 clarification
References: <CAFyQvY05qPsK4X4sh3LiA3grax8_F5+S38p8cXUmk3vsa+=rcA@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 30552
Cc: 30552 <at> debbugs.gnu.org, radon.neon@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

> From: Kaushal Modi <kaushal.modi@HIDDEN>
> Date: Tue, 20 Feb 2018 17:47:32 +0000
> Cc: radon.neon@HIDDEN
> 
>    To keep Emacs from automatically making packages available at
> startup, change the variable ‘package-enable-at-startup’ to ‘nil’.  You
> must do this in the early init file (*note (elisp)Early Init File::), as
> 
> in (emacs) Package Installation
> 
> It looks like the (elisp)Early Init File node does not exist.. navigating there gives:
> 
> user-error: No such node or anchor: ‘Early Init File’

Fixed, thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#30552; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 20 Feb 2018 17:47:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 20 12:47:57 2018
Received: from localhost ([127.0.0.1]:53132 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eoC1E-0006jM-Tu
	for submit <at> debbugs.gnu.org; Tue, 20 Feb 2018 12:47:57 -0500
Received: from eggs.gnu.org ([208.118.235.92]:57947)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <kaushal.modi@HIDDEN>) id 1eoC1D-0006j9-BW
 for submit <at> debbugs.gnu.org; Tue, 20 Feb 2018 12:47:55 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <kaushal.modi@HIDDEN>) id 1eoC16-0006to-IC
 for submit <at> debbugs.gnu.org; Tue, 20 Feb 2018 12:47:49 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: *
X-Spam-Status: No, score=1.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 FREEMAIL_REPLY,HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:42402)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <kaushal.modi@HIDDEN>)
 id 1eoC16-0006tV-Dn
 for submit <at> debbugs.gnu.org; Tue, 20 Feb 2018 12:47:48 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:48870)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <kaushal.modi@HIDDEN>) id 1eoC14-0000Gh-Qk
 for bug-gnu-emacs@HIDDEN; Tue, 20 Feb 2018 12:47:48 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <kaushal.modi@HIDDEN>) id 1eoC13-0006q2-D9
 for bug-gnu-emacs@HIDDEN; Tue, 20 Feb 2018 12:47:46 -0500
Received: from mail-yw0-x229.google.com ([2607:f8b0:4002:c05::229]:41106)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <kaushal.modi@HIDDEN>)
 id 1eoC13-0006ph-79
 for bug-gnu-emacs@HIDDEN; Tue, 20 Feb 2018 12:47:45 -0500
Received: by mail-yw0-x229.google.com with SMTP id w12so1524839ywa.8
 for <bug-gnu-emacs@HIDDEN>; Tue, 20 Feb 2018 09:47:45 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to;
 bh=1unyM23Z8Z3t0K8UdGU/6UWTur86MbTa2WH1nGUvres=;
 b=vXfkcvgJ0uhOWFLKk7QzdOfhccLz0JznbHhSVpbfx52lSjOElflIarQYw3/31HeVOB
 Iq+YnCecqB8K87vqz/1R+zH6GOxW1s7xoYcb8J/yEMUXGlngX+snaIgz3x/ie/WfjfCx
 +Mm55RD9fSo3IFE9TWBOk5VbMi7vzSo7deA75cl/QYCqnwq18EGkVpcQcm3bxWZeVMGa
 2rAhEQomtehpVC12TgsZE27njdEeyARwgqkm2q3iTF7YzVk3aOtJ0YxWl7LuDONAg50h
 QwTXXUZ4yZGKhLEUZ/q2zsu20le0A59Pre3n6TbeRHkU+WtLYVx+KZ3HCsECDDyagGDX
 ic+w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=1unyM23Z8Z3t0K8UdGU/6UWTur86MbTa2WH1nGUvres=;
 b=KUIU1y/dkCMSvF9R53b+cuLzurEN7elZM48ZawZuq+ENL/U+WHTy57D7xXz874LfcB
 ZmcetoIDzVF5pumPRF/TwpaOs9TyCXJkqjPYm7ULUqeoQkSvuhDbeG0qrW5N6IPmfMFe
 ZI0s/TXdq0p/wFC09DLwvqBCbPaI8chQhXEDPZIDOreRf/UYlZgjbjqs7SfVwuQUfnsS
 yIXFKchC9gpsLxXxIF3Bnmn6chGOqm5eTu6sk6ryNSp+ir/pWJOh1NaYKD8xc1QgFIFI
 L2oAxC2xzx4MqH4Fb/dwwypBcUnMij1Fvf6b2M5N4PmgIbELwWxRoeCqB/j5Iuz+nGmQ
 6TIw==
X-Gm-Message-State: APf1xPBpyLmWodozqvWszYITBWWb/IqHFLojwrnUmcs6BlZ+FX3wdI3O
 VQLrWaiTY4CA4t13OAEV3SovKtv8g068wlKxnGg=
X-Google-Smtp-Source: AH8x224gggz9N6yYKSDONhb4KWcW6nDzzbQvMwsG20km7b7rEkug+M70VvNGebBSXOSldb28ALwlub+7p3329KFEV10=
X-Received: by 10.13.223.209 with SMTP id i200mr356727ywe.481.1519148864028;
 Tue, 20 Feb 2018 09:47:44 -0800 (PST)
MIME-Version: 1.0
From: Kaushal Modi <kaushal.modi@HIDDEN>
Date: Tue, 20 Feb 2018 17:47:32 +0000
Message-ID: <CAFyQvY05qPsK4X4sh3LiA3grax8_F5+S38p8cXUmk3vsa+=rcA@HIDDEN>
Subject: 27.0.50; Incorrect link to Early Init File node and Early Init File
 clarification
To: "bug-gnu-emacs@HIDDEN" <bug-gnu-emacs@HIDDEN>
Content-Type: multipart/alternative; boundary="001a114e46f466c6fd0565a86859"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -3.0 (---)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

--001a114e46f466c6fd0565a86859
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

X-Debbugs-CC: radon.neon@HIDDEN

Hello,

I was following the changes for the early init file in the emacs manual,
and I across:

> After a package is installed, it is automatically made available by
Emacs in all subsequent sessions.  This happens at startup, before
processing the init file but after processing the early init file (*note
(elisp)Early Init File::).  As an exception, Emacs does not make
packages available at startup if invoked with the =E2=80=98-q=E2=80=99 or
=E2=80=98--no-init-file=E2=80=99 options (*note Initial Options::).

   To keep Emacs from automatically making packages available at
startup, change the variable =E2=80=98package-enable-at-startup=E2=80=99 to=
 =E2=80=98nil=E2=80=99.  You
must do this in the early init file (*note (elisp)Early Init File::), as

in (emacs) Package Installation

It looks like the (elisp)Early Init File node does not exist.. navigating
there gives:

user-error: No such node or anchor: =E2=80=98Early Init File=E2=80=99

But there *is* a (emacs) Early Init File node.

So, may be just needs /(elisp)/(emacs)/ ?


Here's a related request:

In (emacs) Early Init File, it says:

> However, it is sometimes desirable to
have customizations that take effect during Emacs startup earlier than
the normal init file is processed.  Such customizations can be put in
the early init file, =E2=80=98~/.emacs.d/early-init.el=E2=80=99.

It's not clear what those customizations are.. can you put a definitive
list of customizations that if one does *have* to now be in early-init.el?

For example, now package-user-dir *has* to be in early-init.el, but that
variable is not mentioned in that node.

If a list of variables cannot be listed in there for the sake of
maintenance.. there should be some way for a user to figure out if a
variable *needs to be* in early-init.el or *can be* in init.el.

Example:

- package-user-dir has to be in early-init.el
- But having package-archives in init.el is fine.

Why so? The answer to that Why needs to go in the Early Init File node.

Thanks.


In GNU Emacs 27.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 2.24.23)
 of 2018-02-19
Repository revision: 071a0a571243f9498e0e58e5fe938a7b892a22db
Windowing system distributor 'The X.Org Foundation', version 11.0.60900000
System Description: Red Hat Enterprise Linux Workstation release 6.6
(Santiago)
--=20

Kaushal Modi

--001a114e46f466c6fd0565a86859
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div><div><div><div><span class=3D"inbox-inbox-m=
_-150833692150720545inbox-inbox-lG" style=3D"background-color:rgba(251,246,=
167,0.5);outline:1px dashed transparent;color:rgb(33,33,33);font-size:13px"=
>X</span><span style=3D"color:rgb(33,33,33);font-size:13px">-Debbugs-CC: <s=
pan><span class=3D"inbox-inbox-lG">radon</span>.<a href=3D"mailto:neon@gmai=
l.com">neon@HIDDEN</a></span>

</span>

<br><br></div>Hello,<br><br></div>I was following the changes for the early=
 init file in the emacs manual, and I across:<br><br>&gt; After a package i=
s installed, it is automatically made available by<br>Emacs in all subseque=
nt sessions.=C2=A0 This happens at startup, before<br>processing the init f=
ile but after processing the early init file (*note<br>(elisp)Early Init Fi=
le::).=C2=A0 As an exception, Emacs does not make<br>packages available at =
startup if invoked with the =E2=80=98-q=E2=80=99 or<br>=E2=80=98--no-init-f=
ile=E2=80=99 options (*note Initial Options::).<br><br>=C2=A0=C2=A0 To keep=
 Emacs from automatically making packages available at<br>startup, change t=
he variable =E2=80=98package-enable-at-startup=E2=80=99 to =E2=80=98nil=E2=
=80=99.=C2=A0 You<br>must do this in the early init file (*note (elisp)Earl=
y Init File::), as<br><br></div>in (emacs) Package Installation<br><br></di=
v>It looks like the (elisp)Early Init File node does not exist.. navigating=
 there gives:<br><br>user-error: No such node or anchor: =E2=80=98Early Ini=
t File=E2=80=99<br><br></div>But there *is* a (emacs) Early Init File node.=
<br><br></div>So, may be just needs /(elisp)/(emacs)/ ?<br><br><div><div><d=
iv><div><div><div><div><br></div><div>Here&#39;s a related request:<br><br>=
</div><div>In (emacs) Early Init File, it says:<br><br>&gt; However, it is =
sometimes desirable to<br>have customizations that take effect during Emacs=
 startup earlier than<br>the normal init file is processed.=C2=A0 Such cust=
omizations can be put in<br>the early init file, =E2=80=98~/.emacs.d/early-=
init.el=E2=80=99.<br><br></div><div>It&#39;s not clear what those customiza=
tions are.. can you put a definitive list of customizations that if one doe=
s *have* to now be in early-init.el?<br><br></div><div>For example, now pac=
kage-user-dir *has* to be in early-init.el, but that variable is not mentio=
ned in that node.<br><br></div><div>If a list of variables cannot be listed=
 in there for the sake of maintenance.. there should be some way for a user=
 to figure out if a variable *needs to be* in early-init.el or *can be* in =
init.el.<br><br></div><div>Example:<br><br></div><div>- package-user-dir ha=
s to be in early-init.el<br></div><div>- But having package-archives in ini=
t.el is fine.<br><br></div><div>Why so? The answer to that Why needs to go =
in the Early Init File node.<br><br></div><div>Thanks.<br></div><div><br></=
div><div><br>In GNU Emacs 27.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Versi=
on 2.24.23)<br>=C2=A0of 2018-02-19<br>Repository revision: 071a0a571243f949=
8e0e58e5fe938a7b892a22db<br>Windowing system distributor &#39;The X.Org Fou=
ndation&#39;, version 11.0.60900000<br>System Description: Red Hat Enterpri=
se Linux Workstation release 6.6 (Santiago)<br></div></div></div></div></di=
v></div></div></div>-- <br><div dir=3D"ltr" class=3D"gmail_signature" data-=
smartmail=3D"gmail_signature"><p dir=3D"ltr">Kaushal Modi</p>
</div>

--001a114e46f466c6fd0565a86859--




Acknowledgement sent to Kaushal Modi <kaushal.modi@HIDDEN>:
New bug report received and forwarded. Copy sent to radon.neon@HIDDEN, bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to radon.neon@HIDDEN, bug-gnu-emacs@HIDDEN:
bug#30552; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 20 Feb 2018 19:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.