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


Message #31 received at 43396 <at> debbugs.gnu.org (full text, mbox):

From: Teemu Likonen <tlikonen <at> iki.fi>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 43396 <at> debbugs.gnu.org, larsi <at> gnus.org
Subject: Re: bug#43396: 27.1; Customized "cursor" face has no effect in
 daemon mode
Date: Mon, 28 Jun 2021 15:51:48 +0300
[Message part 1 (text/plain, inline)]
* 2021-06-28 14:54:33+0300, Eli Zaretskii wrote:

> Instead of the last line do this:
>
>   M-: (frame-parameter nil 'cursor-color) RET

Thanks. So, the original recipe:


     1. Create Emacs init file ("~/.emacs.el") with the following
        content:

            (custom-set-faces
             '(cursor ((t (:background "#0f0")))))

     2. Start "emacs" in normal mode to see that the cursor is green
        (#0f0). Close this Emacs session.


M-: (frame-parameter nil 'cursor-color) RET
Retuns: "#0f0" 


     3. Start Emacs in daemon mode and open a client session:

            $ emacs --daemon=test
            $ emacsclient -c -s test


M-: (frame-parameter nil 'cursor-color) RET
Returns: "#31363b"
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 4 years and 13 days ago.

Previous Next


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