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: Teemu Likonen
Subject: bug#43396: 27.1; Customized "cursor" face has no effect in daemon mode
Date: Mon, 28 Jun 2021 15:51:48 +0300
User-agent: Notmuch/0.32.2 (https://notmuchmail.org) Emacs/27.2.50 (x86_64-pc-linux-gnu)

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

Attachment: signature.asc
Description: PGP signature


reply via email to

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