GNU bug report logs -
#45857
28.0.50; Not possible to set package-user-dir in early-init.el
Previous Next
Reported by: Ola x Nilsson <ola.x.nilsson <at> axis.com>
Date: Thu, 14 Jan 2021 11:59:02 UTC
Severity: normal
Merged with 30994
Found in versions 27.0.50, 28.0.50
Done: Stefan Monnier <monnier <at> iro.umontreal.ca>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> But that's still the same kludge: we will rely on the fact that there
> are currently no (i.e. zero, a.k.a. "a small number") of such
> variables.
I'm hoping that there's a good reason why the one exception we have
suffers from a bug, and for that reason we should resist the temptation
to add more such cases.
>> > Basically, some variables can only be usefully initialized after some
>> > part(s) of startup have happened already. One way of dealing with
>> > this is to have the variables record this information (e.g., in a
>> > plist of their symbol) that would allow us evaluate each variable only
>> > once, at the earliest opportunity where the prerequisites are
>> > fulfilled.
[...]
> I say we should get ready for the future now. Introducing the
> infrastructure I mentioned is not a big deal.
Hmm... maybe I misunderstood what you meant by that infrastructure, then.
Could you outline more concretely what it would look like?
Also, would it currently result in a behavior that's different from:
- initialize all delayed vars before early-init
- re-initialize blink-cursor-mode after early-init
?
Stefan
This bug report was last modified 4 years and 124 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.