unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#51715: defface forms not having dynamic value
@ 2021-11-09 11:41 irenezerafa via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-11-09 13:26 ` Eli Zaretskii
  0 siblings, 1 reply; 10+ messages in thread
From: irenezerafa via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-11-09 11:41 UTC (permalink / raw)
  To: 51715

[-- Attachment #1: Type: text/plain, Size: 521 bytes --]

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?

[-- Attachment #2: Type: text/html, Size: 668 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-11-14  2:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-09 11:41 bug#51715: defface forms not having dynamic value irenezerafa via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-09 13:26 ` Eli Zaretskii
2021-11-09 14:17   ` irenezerafa
2021-11-09 15:00     ` Eli Zaretskii
2021-11-09 15:36       ` irenezerafa
2021-11-09 15:40       ` irenezerafa
2021-11-10  0:36     ` Lars Ingebrigtsen
2021-11-10 15:08       ` Stefan Kangas
2021-11-10 16:48         ` Eli Zaretskii
2021-11-14  2:28           ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).