GNU bug report logs -
#44950
28.0.50; 24-bit colors not used in terminal with emacsclient
Previous Next
Reported by: tastytea <tastytea <at> tastytea.de>
Date: Sun, 29 Nov 2020 17:35:02 UTC
Severity: normal
Tags: patch
Found in version 28.0.50
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Tim Ruffing <crypto <at> timruffing.de>
> Cc: larsi <at> gnus.org, 44950 <at> debbugs.gnu.org, tastytea <at> tastytea.de
> Date: Tue, 16 Nov 2021 17:42:32 +0100
>
> > I'm not sure I understand: if supporting "Tc" does the job, what does
> > the added code gain us?
>
> Well, there are just (too) many standards and without setrgbf/setrgbb,
> we don't support all of them. Even with support for Tc, there may be
> terminals which can do 24bit but don't have Tc in their terminfo but
> only setrgbf/setrgbb.
>
> It's also possible (but very unlikely?) that they support only non-
> "standard" escape sequences and thus can have setrgbf/setrgbb with non-
> default sequences in terminfo but not Tc because the latter implies the
> "standard" escape sequence.
All of them are non-standard, and AFACT every terminal that supports
setrgbf/setrgbb also supports Tc. So I think we should be good
supporting only some of the non-standard stuff there, at least for
now. If and when some of these become standard terminfo capabilities,
we should support those standards ones first and foremost, of course.
> As I said, I believe the current code does the job. But still, I
> wouldn't be surprised if next year some user proves me wrong and
> complains here that 24bit doesn't work with their specific rare
> terminal/terminfo while it works in other programs (which support
> setrgbf/setrgbb).
Well, I think we should cross that bridge when we get to it. And
maybe also clean up this area a bit when we do.
Thanks.
This bug report was last modified 3 years and 268 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.