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: Eli Zaretskii
Subject: bug#43396: 27.1; Customized "cursor" face has no effect in daemon mode
Date: Sat, 12 Jun 2021 15:47:36 +0300

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: Teemu Likonen <tlikonen@iki.fi>,  43396@debbugs.gnu.org
> Date: Sat, 12 Jun 2021 14:22:28 +0200
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> The "cursor" face's background attribute can be customized to change
> >> text cursor's color. However, customized cursor does not have any effect
> >> in Emacs session which is started with "emacs --daemon" in KDE Plasma
> >> desktop system.
> >
> > I think you need to do that in server-after-make-frame-hook instead,
> > to make it work in a daemon session.  When the daemon reads your init
> > file, it doesn't have a GUI frame to play with, so some
> > display-related customizations don't work until there's a frame.
> 
> Is this a bug, or just how this has to work?

Frankly, I'm not sure.  Given the workaround the OP posted, it sounds
like it could be a subtle bug somewhere: custom-set-faces doesn't seem
to call face-set-spec in the daemon case.





reply via email to

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