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#62237: 28.1 or higher: 24-bit true color breaks colours in Emacsen built without X under GNU Screen Date: Fri, 17 Mar 2023 21:02:44 +0200 Message-ID: <83lejvciaz.fsf@gnu.org> References: <87sfe390kv.fsf@sebyte.me> <83h6ujefq1.fsf@gnu.org> <87y1nv4af0.fsf@sebyte.me> <83zg8bcosc.fsf@gnu.org> <87ttyj44cp.fsf@sebyte.me> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10594"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 62237@debbugs.gnu.org To: Sebastian Tennant Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 17 20:03:16 2023 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 1pdFMC-0002Yt-Gd for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 17 Mar 2023 20:03:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pdFLz-0001jj-VD; Fri, 17 Mar 2023 15:03:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pdFLy-0001ja-OZ for bug-gnu-emacs@gnu.org; Fri, 17 Mar 2023 15:03:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pdFLy-0007Qg-7q for bug-gnu-emacs@gnu.org; Fri, 17 Mar 2023 15:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pdFLx-0003a4-Th for bug-gnu-emacs@gnu.org; Fri, 17 Mar 2023 15:03:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Mar 2023 19:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62237 X-GNU-PR-Package: emacs Original-Received: via spool by 62237-submit@debbugs.gnu.org id=B62237.167907977013747 (code B ref 62237); Fri, 17 Mar 2023 19:03:01 +0000 Original-Received: (at 62237) by debbugs.gnu.org; 17 Mar 2023 19:02:50 +0000 Original-Received: from localhost ([127.0.0.1]:45644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pdFLm-0003Zf-0q for submit@debbugs.gnu.org; Fri, 17 Mar 2023 15:02:50 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pdFLk-0003ZS-CM for 62237@debbugs.gnu.org; Fri, 17 Mar 2023 15:02:48 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pdFLf-0007Lp-2E; Fri, 17 Mar 2023 15:02:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=LSmapKqK0sDop3+Oafi9QJLHRj2qABfqBHV5UAw6r2U=; b=cGbJcSS+egYP L2HrixmdRZEa2AMlRDxXTihSK0SnCUm0ppqt9m8P2Nucy+/NM7ghwetaZXTE+KuiI4gpZbLpspVfp oGneN34/uCbsZ0FtiA4Qz/2Lsvpa8+SAKb3D1vw9txQCKY72aB6XJSnVFAZrK7EU//BlToWL7D4hV R4It9vid0zxeOlmjTY5bOyD6TyTzvFC6QQy1G2l1bqIx22lpwF3V7pvRxUneRJR7B+kskg38GREP6 Q8M7y8nnzes9URcKPEaXhRXGg8VfkZQCaQWxJrBXwNgEGtJrEIJxUBPA5+jglZjogwPlszzJb5RPr CGWlW1tS2nWA4bwWytZgBQ==; Original-Received: from [87.69.77.57] (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 1pdFLe-0005oC-H1; Fri, 17 Mar 2023 15:02:42 -0400 In-Reply-To: <87ttyj44cp.fsf@sebyte.me> (message from Sebastian Tennant on Fri, 17 Mar 2023 18:31:18 +0000) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:258108 Archived-At: > From: Sebastian Tennant > Cc: 62237@debbugs.gnu.org > Date: Fri, 17 Mar 2023 18:31:18 +0000 > > > No, Emacs 30 is good enough. (Your report says Emacs 28.1, which is > > why I asked.) > > It's easy to miss the "or higher". The "or higher" is not useful because it says nothing about the versions you actually tested. It could be Emacs 28.2, for example. Please always tell all the details without assuming that our crystal balls are clear enough to see them. > > What is TERM set to on that system? > > In a plain GNOME Terminal, i.e. outside screen: > > xterm-256color That's 256 colors, not 64-bit true-color terminal, AFAIU. > > It also says that your terminal actually supports only 88 colors. > > How do you infer that? By looking at the color names. > > So you should unset COLORTERM in your environment > > That's precisely the fix I discovered yesterday. Then I guess this bug can be closed? > According to: > > https://github.com/termstandard/colors > > command: > > $ printf "\x1b[38;2;255;100;0mTRUECOLOR\x1b[0m\n" > > shows your terminal is capable of truecolor if the word TRUECOLOR is > printed in brown. According to the result of this test, GNOME > Terminal (3.38.3) _is_ truecolor enabled. Which standard of true color does it support? > I can observe the same broken colours in xterm (under the same > conditions) shipped by Debian bullseye. > > I'm sure it has to do with screen and will investigate whther or not > my version of screen supports truecolor. Thanks.