bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#45068: [PATCH] 28.0.50; Update Modus themes 1.0.2 (backward-incompat


From: Basil L. Contovounesios
Subject: bug#45068: [PATCH] 28.0.50; Update Modus themes 1.0.2 (backward-incompatible)
Date: Tue, 02 Mar 2021 11:38:34 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Mauro Aranda <maurooaranda@gmail.com> writes:

> I'll just say that I raised the question because (usually) theme files
> are just settings, so for a user to check the safety it is normally
> enough to go through the custom-theme-set-* functions and see what the
> theme is setting.  Now the user would be asked to check a require-theme
> call for its safety, and since a call to require-theme looks a lot like
> require, it might not be obvious that it can load (and enable) any theme
> it wants.

I'm suggesting that require-theme never enables any themes.  And to the
eyes of the user, it would be no different than a call to require or
load, which we already don't warn a second time about.

> And if a theme uses require-theme to do that, it can "hide"
> the "unsafe theme" settings, because the first element of
> custom-enabled-themes will just be the "safe" theme.

Sorry, I'm not sure what you mean, could you please elaborate on the
steps involved?

> Those were my reasons, feel free to ignore them if you think they make
> no sense.

I doubt that's the case :).

Thanks,

-- 
Basil





reply via email to

[Prev in Thread] Current Thread [Next in Thread]