Subject: bug#62528: 28.2; Emacsclient doesn't use COLORTERM

From: Eli Zaretskii <[email-masked]>
Date: Wed, 29 Mar 2023 21:48:12 +0300

> Date: Wed, 29 Mar 2023 20:42:53 +0200
> From: Vojtěch Balák <[email-masked]>
> Cc: [email-masked]
> 
> > I think you are misinterpreting what the documentation says.
> > COLORTERM=truecolor can only affect Emacs, it cannot affect the
> > display triggered by emacsclient.
> 
> Why is that the case, if you don't mind me asking? emacsclient does
> support 24 bit color, since setting TERM=xterm-direct works. And
> because both Emacs and emacsclient support 24 bit color, I would
> expect COLORTERM to work for both.

COLORTERM should be in the environment of emacs when it starts, not in
the environment of emacsclient.