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

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

bug#43396: 27.1; Customized "cursor" face has no effect in daemon mode


From: Lars Ingebrigtsen
Subject: bug#43396: 27.1; Customized "cursor" face has no effect in daemon mode
Date: Wed, 30 Jun 2021 14:14:58 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> Yes, we have a design bug here (and in some other places):
> customizations that need GUI features don't work well when invoked at
> startup time in daemon sessions.  If someone knows how to fix
> custom-set-faces so that the face is re-evaluated when the first GUI
> frame is created, patches and/or ideas are welcome. 

Yeah, it's a tricky problem...  unless we just add some brute-forcing of
this when the first graphical frame is created.

That is, we just go through all the faces that have been created already
(with `custom-set-faces') when the user eventually creates a frame, and
then re-evaluate everything.

But...  it seems like there's so many possible negative repercussions to
doing that (if the user has changed the faces further outside the custom
machinery) that it sounds like a kinda chaotic thing to do.

Uhm...  perhaps we could have a `custom-reset-faces' function that
people can put in a server/client hook to achieve this if they want to?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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