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

From: Eli Zaretskii <[email-masked]>
Date: Mon, 28 Jun 2021 20:24:24 +0300

> From: Teemu Likonen <[email-masked]>
> Cc: [email-masked], [email-masked]
> Date: Mon, 28 Jun 2021 20:07:13 +0300
> 
> >> M-: (frame-parameter nil 'cursor-color) RET
> >> Returns: "#31363b"
> >
> > You are being hit by the transparent TTY color translation.
> >
> > What happens if, instead of #0f0 you use #0000ffff0000 ?
> 
> In normal emacs session ("emacs") it returns "#0000ffff0000" but in a
> client session ("emacsclient -c") it is still "#31363b".

And if, instead of custom-set-faces, you use

  (add-to-list 'default-frame-alist '(cursor-color . #0f0))

?