[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Fixing package-initialize, adding early init file
From: |
Stefan Monnier |
Subject: |
Re: [PATCH] Fixing package-initialize, adding early init file |
Date: |
Sun, 18 Feb 2018 22:10:24 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> The first line in the *Messages* buffer reads
> Symbol’s value as variable is void: Info-default-directory-list
Hmm... indeed, I see the problem: in `command-line`, we do:
- load early-init.el
- activate all packages
- do various frame initializations (e.g. create the GUI frame)
- run custom-reevaluate-setting on the custom-delayed-init-variables
- load init.el
and until we run custom-reevaluate-setting, those delayed vars are
still unbound.
I don't know if it's safe to do the custom-reevaluate-setting before the
frame initializations. If it is, then we could move it to before
loading early-init.el, and that would be my favorite choice.
If that can't be done, then the second best option is to move the
package-activation to after we run custom-reevaluate-setting (so
early-init.el still can't (require 'info) because
Info-default-directory-list is unbound, but at least the problem at hand
should be fixed).
Stefan
- RE: [PATCH] Fixing package-initialize, adding early init file, (continued)
- RE: [PATCH] Fixing package-initialize, adding early init file, Drew Adams, 2018/02/15
- Re: [PATCH] Fixing package-initialize, adding early init file, Stefan Monnier, 2018/02/15
- Re: [PATCH] Fixing package-initialize, adding early init file, John Wiegley, 2018/02/15
- Re: [PATCH] Fixing package-initialize, adding early init file, Stefan Monnier, 2018/02/15
- Re: [PATCH] Fixing package-initialize, adding early init file, John Wiegley, 2018/02/16
- Re: [PATCH] Fixing package-initialize, adding early init file, Eli Zaretskii, 2018/02/17
- Re: [PATCH] Fixing package-initialize, adding early init file, Clément Pit-Claudel, 2018/02/17
- Re: [PATCH] Fixing package-initialize, adding early init file, Radon Rosborough, 2018/02/17
- Re: [PATCH] Fixing package-initialize, adding early init file, Basil L. Contovounesios, 2018/02/18
- Re: [PATCH] Fixing package-initialize, adding early init file, Radon Rosborough, 2018/02/18
- Re: [PATCH] Fixing package-initialize, adding early init file,
Stefan Monnier <=
- Re: [PATCH] Fixing package-initialize, adding early init file, Basil L. Contovounesios, 2018/02/20
- Re: [PATCH] Fixing package-initialize, adding early init file, Basil L. Contovounesios, 2018/02/20
- Re: [PATCH] Fixing package-initialize, adding early init file, Radon Rosborough, 2018/02/20
- Re: [PATCH] Fixing package-initialize, adding early init file, T.V Raman, 2018/02/20
- Re: [PATCH] Fixing package-initialize, adding early init file, Stefan Monnier, 2018/02/21
- Re: [PATCH] Fixing package-initialize, adding early init file, Radon Rosborough, 2018/02/21
- Re: [PATCH] Fixing package-initialize, adding early init file, Stefan Monnier, 2018/02/21
- Re: [PATCH] Fixing package-initialize, adding early init file, T.V Raman, 2018/02/20