GNU bug report logs -
#62528
28.2; Emacsclient doesn't use COLORTERM
Previous Next
Reported by: Vojtěch Balák <vojtech <at> balak.me>
Date: Wed, 29 Mar 2023 16:59:02 UTC
Severity: normal
Found in version 28.2
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 62528 <at> debbugs.gnu.org (full text, mbox):
> Date: Wed, 29 Mar 2023 17:06:18 +0200
> From: Vojtěch Balák <vojtech <at> balak.me>
>
> When starting Emacs in a terminal emulator with 24 bit color support,
> I would like it to take advantage of this. According to the FAQ
> section 5.3, setting the variable COLORTERM to truecolor should
> result in Emacs using 24 bit colors. But according to my observations,
> this is not always true.
>
> Starting Emacs in these ways does result in it using true color:
> TERM=xterm-256color COLORTERM=truecolor emacs -nw
> TERM=xterm-direct COLORTERM= emacs -nw
> TERM=xterm-direct COLORTERM= emacsclient -nw
>
> Starting it in these ways does result in it NOT using true color:
> TERM=xterm-256color COLORTERM= emacs -nw
> TERM=xterm-256color COLORTERM= emacsclient -nw
> TERM=xterm-256color COLORTERM=truecolor emacsclient -nw
>
> The last one is the odd one out. According to my understanding, that
> should result in 24 bit color being used, but in practice it does not.
I think you are misinterpreting what the documentation says.
COLORTERM=truecolor can only affect Emacs, it cannot affect the
display triggered by emacsclient.
This bug report was last modified 2 years and 47 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.