all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Radon Rosborough <radon.neon@gmail.com>
Cc: 30552@debbugs.gnu.org, Kaushal Modi <kaushal.modi@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 17:59:49 +0200	[thread overview]
Message-ID: <CADwFkm=2k2hhZ9KNsF-D6-4VpwmoOSzaUi1v5ayCaLOVrW=95w@mail.gmail.com> (raw)
In-Reply-To: <CADB4rJH=KbzYBvSyAM19OV4WgiKv83WKrX+JqZi=H0GSYfrfFg@mail.gmail.com>

Radon Rosborough <radon.neon@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





  reply	other threads:[~2019-09-29 15:59 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-20 17:47 bug#30552: 27.0.50; Incorrect link to Early Init File node and Early Init File clarification Kaushal Modi
2018-02-20 19:28 ` Eli Zaretskii
2018-02-21 16:13   ` Kaushal Modi
2018-02-21 18:12     ` Eli Zaretskii
2018-02-20 20:38 ` Radon Rosborough
2018-02-21 16:16   ` Kaushal Modi
2018-02-21 21:01     ` Radon Rosborough
2019-09-28 22:13 ` Stefan Kangas
2019-09-29 15:39   ` Radon Rosborough
2019-09-29 15:59     ` Stefan Kangas [this message]
2019-09-29 16:02       ` Radon Rosborough
2019-09-29 16:15         ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADwFkm=2k2hhZ9KNsF-D6-4VpwmoOSzaUi1v5ayCaLOVrW=95w@mail.gmail.com' \
    --to=stefan@marxist.se \
    --cc=30552@debbugs.gnu.org \
    --cc=kaushal.modi@gmail.com \
    --cc=radon.neon@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.