From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#44950: 28.0.50; 24-bit colors not used in terminal with emacsclient Date: Tue, 16 Nov 2021 19:22:04 +0200 Message-ID: <83a6i410eb.fsf@gnu.org> References: <20201129165641.00308157@ventiloplattform.tastytea.de> <87r1hfs2iw.fsf@gnus.org> <87y29zkh2u.fsf@gnus.org> <8897e49181dca3edec91bb2b08494e7484b88cd0.camel@timruffing.de> <87bl2r8bg7.fsf@gnus.org> <83a6i8xf9a.fsf@gnu.org> <9f08184d088ac08c3ce4c589e521bcc9590474ec.camel@timruffing.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18648"; mail-complaints-to="usenet@ciao.gmane.io" Cc: tastytea@tastytea.de, larsi@gnus.org, 44950@debbugs.gnu.org To: Tim Ruffing Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 16 18:23:22 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mn2Az-0004fv-M2 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Nov 2021 18:23:21 +0100 Original-Received: from localhost ([::1]:56698 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mn2Ay-0007KY-Hv for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Nov 2021 12:23:20 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40104) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mn2Aj-0007KA-Bd for bug-gnu-emacs@gnu.org; Tue, 16 Nov 2021 12:23:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47475) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mn2Ag-0004Cw-L6 for bug-gnu-emacs@gnu.org; Tue, 16 Nov 2021 12:23:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mn2Ag-0008RC-GC for bug-gnu-emacs@gnu.org; Tue, 16 Nov 2021 12:23:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Nov 2021 17:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44950 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 44950-submit@debbugs.gnu.org id=B44950.163708334032324 (code B ref 44950); Tue, 16 Nov 2021 17:23:02 +0000 Original-Received: (at 44950) by debbugs.gnu.org; 16 Nov 2021 17:22:20 +0000 Original-Received: from localhost ([127.0.0.1]:59021 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mn2A0-0008PI-HY for submit@debbugs.gnu.org; Tue, 16 Nov 2021 12:22:20 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39158) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mn29y-0008Ou-Nd for 44950@debbugs.gnu.org; Tue, 16 Nov 2021 12:22:19 -0500 Original-Received: from [2001:470:142:3::e] (port=56124 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mn29s-00049H-IL; Tue, 16 Nov 2021 12:22:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=InmW012MJ8X31C6rz7ggDbMlBkn1BaSPVcnavZZfbgA=; b=mVXyjI3ymYcoOeItc1gR /0VASMSSM8KT/YUJHU2Yxrc0RmmoDzbNTmJqETufwtSMJuj7ABP9IiF3y8B/scFbFztyX7HRnHT1Q BA3eVq1ud8XAL6xRqWa40VHGWub79ZDayThjHAyjpdeILPuIxanLUItvT6bWPO5cEvFJAvTnZO53l Ov7iDDDyD3hfoWVUzOHbQGDvpxD30Jgrf+jn1xIiGVQPUd6g/npoGiQ4MQkRjgRppAZpZpMOMTuMv a9WdRL6YDYvHVXptA335j1eK4TljO12kKUqOOewIgCBOOoofBFJBS+PNdaYPwQ/L4Szn/e5gBMt78 YH8pZQJ/S4W+pA==; Original-Received: from [87.69.77.57] (port=3816 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mn29s-0002f3-6R; Tue, 16 Nov 2021 12:22:12 -0500 In-Reply-To: <9f08184d088ac08c3ce4c589e521bcc9590474ec.camel@timruffing.de> (message from Tim Ruffing on Tue, 16 Nov 2021 17:42:32 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:220135 Archived-At: > From: Tim Ruffing > Cc: larsi@gnus.org, 44950@debbugs.gnu.org, tastytea@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.