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

From: Teemu Likonen <[email-masked]>
Date: Mon, 28 Jun 2021 15:51:48 +0300

* 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"