bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#44950: 28.0.50; 24-bit colors not used in terminal with emacsclient


From: Tim Ruffing
Subject: bug#44950: 28.0.50; 24-bit colors not used in terminal with emacsclient
Date: Mon, 31 May 2021 16:06:55 +0200

I think what tastytea is saying is that when emacs checks the env
variable COLORTERM, it uses the environment of the server and not the
one of emacsclient. And yes, that's just a bug. emacsclient should read
that variable and pass it to server. But this requires new code because
it breaks with the pattern of using terminfo to detect term support.

So the terminfo detection is currently more reliable. Would you be
willing to accept something like the attached patch? This will improve
detection without relying on COLORTERM, which should make the situation
already much better. Tc is in the terminfo of many terminals, see
https://gist.github.com/XVilka/8346728 .

If yes, I can send an improved patch (with added explanations to
doc/misc/efaq.texi).

Tim

Attachment: 0001-Support-Tc-terminfo-flag-forg-24-bit-color-support-i.patch
Description: Text Data


reply via email to

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