all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#30552: 27.0.50; Incorrect link to Early Init File node and Early Init File clarification
@ 2018-02-20 17:47 Kaushal Modi
  2018-02-20 19:28 ` Eli Zaretskii
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Kaushal Modi @ 2018-02-20 17:47 UTC (permalink / raw)
  To: 30552; +Cc: radon.neon

[-- Attachment #1: Type: text/plain, Size: 2360 bytes --]

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 ‘-q’ or
‘--no-init-file’ options (*note Initial Options::).

   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’

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, ‘~/.emacs.d/early-init.el’.

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)
-- 

Kaushal Modi

[-- Attachment #2: Type: text/html, Size: 3222 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2019-09-29 16:15 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2019-09-29 16:02       ` Radon Rosborough
2019-09-29 16:15         ` Stefan Kangas

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.