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

Previous Next

Package: emacs;

Reported by: Kaushal Modi <kaushal.modi <at> gmail.com>

Date: Tue, 20 Feb 2018 17:48:02 UTC

Severity: minor

Found in version 27.0.50

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Radon Rosborough <radon.neon <at> gmail.com>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 30552 <at> debbugs.gnu.org, Kaushal Modi <kaushal.modi <at> gmail.com>
Subject: bug#30552: 27.0.50; Incorrect link to Early Init File node and Early Init File clarification
Date: Sun, 29 Sep 2019 09:02:07 -0700
[Message part 1 (text/plain, inline)]
It seems not unreasonable to me.

On Sun, Sep 29, 2019 at 9:00 AM Stefan Kangas <stefan <at> marxist.se> wrote:

> Radon Rosborough <radon.neon <at> gmail.com> writes:
>
> > I did not, sorry, and don't see it happening in the foreseeable future
> given my current workload.
>
> I see that this text has changed a bit since this was last discussed.
> Is the current text good, or is there still something missing?  It
> explains which variables should be put in the early init file.
>
> -----
>
> 49.4.6 The Early Init File
> --------------------------
>
> Most customizations for Emacs should be put in the normal init file.
> *Note Init File::.  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, ‘~/.config/emacs.d/early-init.el’ or
> ‘~/.emacs.d/early-init.el’.  This file is loaded before the package
> system and GUI is initialized, so in it you can customize variables that
> affect frame appearance as well as the package initialization process,
> such as ‘package-enable-at-startup’, ‘package-load-list’, and
> ‘package-user-dir’.  Note that variables like ‘package-archives’ which
> only affect the installation of new packages, and not the process of
> making already-installed packages available, may be customized in the
> regular init file.  *Note Package Installation::.
>
>    We do not recommend that you move into ‘early-init.el’ customizations
> that can be left in the normal init files.  That is because the early
> init file is read before the GUI is initialized, so customizations
> related to GUI features will not work reliably in ‘early-init.el’.  By
> contrast, the normal init files are read after the GUI is initialized.
> If you must have customizations in the early init file that rely on GUI
> features, make them run off hooks provided by the Emacs startup, such as
> ‘window-setup-hook’ or ‘tty-setup-hook’.  *Note Hooks::.
>
>    For more information on the early init file, *note (elisp)Init
> File::.
>
> -----
>
> Thanks in advance.
>
> Best regards,
> Stefan Kangas
>
[Message part 2 (text/html, inline)]

This bug report was last modified 5 years and 239 days ago.

Previous Next


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