GNU bug report logs - #50491
28.0.50; load-theme in early-init does not fully loads/enables expected faces

Previous Next

Package: emacs;

Reported by: "Y. E." <yet <at> ego.team>

Date: Thu, 9 Sep 2021 19:36:01 UTC

Severity: normal

Found in version 28.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 50491 <at> debbugs.gnu.org (full text, mbox):

From: "Y. E." <yuga <at> ego.team>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 50491 <at> debbugs.gnu.org, yet <at> ego.team
Subject: Re: bug#50491: 28.0.50;
 load-theme in early-init does not fully loads/enables expected faces
Date: Fri, 10 Sep 2021 13:28:49 +0300
Hi Eli,

> If you load themes only in init.el, once, without loading them in
> early-init.el, does the problem go away?

It is now, though I used to see "blinking" (white background showing up for
a second before a dark theme load) on Emacs startup with the theme
loaded/enabled in init.el.
Probably I saw it on one of the previously compiled Emacs versions.

> The early-init file is not meant to support every single
> customization of Emacs, only those that must be done before loading
> init.el.

Sure. I thought it might be a bug because a theme used to be loaded
correctly from early-init.el up until some (past) moment.

One question though.
`(emacs)49.4.6 The Early Init File' says:
"you can customize variables that affect frame appearance"
and
"customizations related to GUI features will not work reliably"

"frame appearance" and "GUI features" to my _naŃ—ve_ eyes _seem_
a bit contradictory.
Could probably documentation be clarified saying more on what exactly
is (not)supported in the early-init file?

For instance, which of these expressions are fine to be early-loaded:
`default-frame-alist', `initial-frame-alist', `inhibit-startup-message',
`initial-scratch-message', `scroll-bar-mode', `tool-bar-mode'?


> So if this works in init.el, then there's no bug here.

I'm fine with that since it works for me now with init.el.


Thank you,
YE





This bug report was last modified 3 years and 327 days ago.

Previous Next


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