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

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

bug#44145: 27.1; [FR] Tie customize-theme to currently active theme by d


From: Lars Ingebrigtsen
Subject: bug#44145: 27.1; [FR] Tie customize-theme to currently active theme by default
Date: Tue, 07 Jun 2022 12:09:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Mikael Puhakka <mike@fwwm.us> writes:

> I am aware there is a good facility to interactively customize faces
> (`M-x customize-face`) and on the other hand there's a lower-level
> function `custom-theme-set-faces` which, I understand, can be used to
> customize faces per theme.
>
> It is very often that a custom face works for one enabled theme but if
> one loads another, the style can clash.
>
> I propose that `customize-face` would default to customizing faces that
> will be tied to the currently active (or topmost on the stack) theme.
>
> Many have light and dark themes that are often used and switched daily,
> depending on ambient light conditions. Effortlessly customizing and
> finetuning each theme would prove a nice way to make casual little
> changes without messing other themes.

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

I think that most people that customise a face want that face to be
exactly that way, and not tied to a theme, but I can see that it'd be
useful to be able to create a kind of "child theme" via Customize --
perhaps as a separate command.

I'm not sure how that would be most easily be implemented -- it'd be a
set of faces that should only be activated after a theme has been
activated, or something.  Has anybody done any work in this direction,
by any chance?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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