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: irenezerafa
Subject: bug#51715: defface forms not having dynamic value
Date: Tue, 09 Nov 2021 15:40:21 +0000


Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On Tuesday, November 9th, 2021 at 3:00 PM, Eli Zaretskii <eliz@gnu.org> wrote:

> > Date: Tue, 09 Nov 2021 14:17:03 +0000
> > From: irenezerafa irenezerafa@protonmail.com
> > Cc: 51715@debbugs.gnu.org

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

> > The dependency only matters when your macro is being evaluated and the faces
> > are reified.  Since you have a package, that will be the moment the package
> > gets required. So you are making it a dependency for everyone.

> I'm still not sure I get this. You want to be able to control the
> colors of a face indirectly, by changing some variable which the face
> references? If not, what do you mean by "the dependency"?

> IOW, what is it that you want to be able to do that isn't possible by
> calling set-face-attribute?

I don't think so, because set-face-attribute and related functions are
meant to edit existing faces, not define them.  In practice, they are
used in user init files, since it is bad form for a package to edit the
definition of a face in another package.






reply via email to

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