From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.bugs Subject: bug#30552: 27.0.50; Incorrect link to Early Init File node and Early Init File clarification Date: Tue, 20 Feb 2018 17:47:32 +0000 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a114e46f466c6fd0565a86859" X-Trace: blaine.gmane.org 1519148924 540 195.159.176.226 (20 Feb 2018 17:48:44 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 20 Feb 2018 17:48:44 +0000 (UTC) Cc: radon.neon@gmail.com To: 30552@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 20 18:48:40 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eoC1v-0008Fm-FR for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Feb 2018 18:48:39 +0100 Original-Received: from localhost ([::1]:56893 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eoC3x-0002e4-Nm for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Feb 2018 12:50:45 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49049) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eoC1L-0000YR-OI for bug-gnu-emacs@gnu.org; Tue, 20 Feb 2018 12:48:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eoC1K-0007EN-K4 for bug-gnu-emacs@gnu.org; Tue, 20 Feb 2018 12:48:03 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45235) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eoC1K-0007E5-Fe for bug-gnu-emacs@gnu.org; Tue, 20 Feb 2018 12:48:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eoC1K-0006jh-6d; Tue, 20 Feb 2018 12:48:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Kaushal Modi Original-Sender: "Debbugs-submit" Resent-CC: radon.neon@gmail.com, bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Feb 2018 17:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 30552 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" X-Debbugs-Original-Xcc: radon.neon@gmail.com Original-Received: via spool by submit@debbugs.gnu.org id=B.151914887725880 (code B ref -1); Tue, 20 Feb 2018 17:48:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Feb 2018 17:47:57 +0000 Original-Received: from localhost ([127.0.0.1]:53132 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eoC1E-0006jM-Tu for submit@debbugs.gnu.org; Tue, 20 Feb 2018 12:47:57 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:57947) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eoC1D-0006j9-BW for submit@debbugs.gnu.org; Tue, 20 Feb 2018 12:47:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eoC16-0006to-IC for submit@debbugs.gnu.org; Tue, 20 Feb 2018 12:47:49 -0500 Original-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 ) id 1eoC16-0006tV-Dn for submit@debbugs.gnu.org; Tue, 20 Feb 2018 12:47:48 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48870) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eoC14-0000Gh-Qk for bug-gnu-emacs@gnu.org; Tue, 20 Feb 2018 12:47:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eoC13-0006q2-D9 for bug-gnu-emacs@gnu.org; Tue, 20 Feb 2018 12:47:46 -0500 Original-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 ) id 1eoC13-0006ph-79 for bug-gnu-emacs@gnu.org; Tue, 20 Feb 2018 12:47:45 -0500 Original-Received: by mail-yw0-x229.google.com with SMTP id w12so1524839ywa.8 for ; 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) 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:143496 Archived-At: --001a114e46f466c6fd0565a86859 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Debbugs-CC: radon.neon@gmail.com 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
X-Debbugs-CC: radon.neon@gmail.com

Hello,

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

> After a package i= s installed, it is automatically made available by
Emacs in all subseque= nt sessions.=C2=A0 This happens at startup, before
processing the init f= ile but after processing the early init file (*note
(elisp)Early Init Fi= le::).=C2=A0 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-f= ile=E2=80=99 options (*note Initial Options::).

=C2=A0=C2=A0 To keep= Emacs from automatically making packages available at
startup, change t= he variable =E2=80=98package-enable-at-startup=E2=80=99 to =E2=80=98nil=E2= =80=99.=C2=A0 You
must do this in the early init file (*note (elisp)Earl= y 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 Ini= t 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.=C2=A0 Such cust= omizations 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 customiza= tions are.. can you put a definitive list of customizations that if one doe= s *have* to now be in early-init.el?

For example, now pac= kage-user-dir *has* to be in early-init.el, but that variable is not mentio= ned 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 ha= s to be in early-init.el
- But having package-archives in ini= t.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+ Versi= on 2.24.23)
=C2=A0of 2018-02-19
Repository revision: 071a0a571243f949= 8e0e58e5fe938a7b892a22db
Windowing system distributor 'The X.Org Fou= ndation', version 11.0.60900000
System Description: Red Hat Enterpri= se Linux Workstation release 6.6 (Santiago)
--

Kaushal Modi

--001a114e46f466c6fd0565a86859--