GNU bug report logs - #43396
27.1; Customized "cursor" face has no effect in daemon mode

Previous Next

Package: emacs;

Reported by: Teemu Likonen <tlikonen <at> iki.fi>

Date: Mon, 14 Sep 2020 13:24:02 UTC

Severity: normal

Found in version 27.1

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 43396 <at> debbugs.gnu.org, Teemu Likonen <tlikonen <at> iki.fi>
Subject: bug#43396: 27.1; Customized "cursor" face has no effect in daemon mode
Date: Sat, 12 Jun 2021 14:22:28 +0200
Eli Zaretskii <eliz <at> 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?  If it's the latter --
should this be documented more thoroughly?

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




This bug report was last modified 3 years and 324 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.