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

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

bug#51715: defface forms not having dynamic value


From: Eli Zaretskii
Subject: bug#51715: defface forms not having dynamic value
Date: Wed, 10 Nov 2021 18:48:44 +0200

> From: Stefan Kangas <stefan@marxist.se>
> Date: Wed, 10 Nov 2021 07:08:59 -0800
> Cc: irenezerafa <irenezerafa@protonmail.com>, 51715@debbugs.gnu.org, 
>       Eli Zaretskii <eliz@gnu.org>
> 
> >>             '( (default (:inherit rainbow-delimiters-base-face))
> >>                     ( ((class color) (background light))
> >>                  :foreground ,(nth i light-colors))
> >>                     ( ((class color) (background dark))
> >>                  :foreground ,(nth i dark-colors)) )
> >>             ,(format "Nested delimiter face, depth %d." (1+ i))
> >
> > This would be nice if possible, but I don't think it's practical.  It
> > would mean that (in general) Emacs would have to recalculate faces
> > whenever a variable changes, and that would make Emacs very slow.
> 
> But maybe we could allow the above in combination with a function to
> refresh all face definitions?  I'm not sure it's worth the effort in
> comparison with just fixing the load order though, so it might still be
> a wontfix.

Isn't that what :inherit already does?





reply via email to

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