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: Tue, 09 Nov 2021 15:26:48 +0200

> Date: Tue, 09 Nov 2021 11:41:10 +0000
> From:  irenezerafa via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> I am getting into quite messy code because my macro creates
> defface forms.  Those do not have a dynamic value, but use the
> value they get at the time they are evaluated. So using something
> like a variable purple-intense does not help, because its value
> would be a reference to one value, not a function that returns a
> value (and having a function as a value would not be possible for
> a face).
> 
> Because the purpose of faces is to be configurable by the user,
> could there be some improvements to easily tackle such problems?

Please tell more.  Which face attributes did you want to make dynamic,
and how?





reply via email to

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