unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 51715@debbugs.gnu.org, irenezerafa <irenezerafa@protonmail.com>
Subject: bug#51715: defface forms not having dynamic value
Date: Wed, 10 Nov 2021 07:08:59 -0800	[thread overview]
Message-ID: <CADwFkmkMcX6+wdNuASJ9WMMY07aAVUuT=Ak9MLgG-bc6050TFw@mail.gmail.com> (raw)
In-Reply-To: <8735o4lucu.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 10 Nov 2021 01:36:33 +0100")

Lars Ingebrigtsen <larsi@gnus.org> writes:

> irenezerafa <irenezerafa@protonmail.com> writes:
>
>> 		 '( (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.





  reply	other threads:[~2021-11-10 15:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2021-11-10 16:48         ` Eli Zaretskii
2021-11-14  2:28           ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADwFkmkMcX6+wdNuASJ9WMMY07aAVUuT=Ak9MLgG-bc6050TFw@mail.gmail.com' \
    --to=stefan@marxist.se \
    --cc=51715@debbugs.gnu.org \
    --cc=irenezerafa@protonmail.com \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).