From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sebastian Tennant 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 09:41:36 +0000 Message-ID: <87sfe390kv.fsf@sebyte.me> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17665"; mail-complaints-to="usenet@ciao.gmane.io" To: 62237@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 17 10:42:21 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 1pd6bM-0004Lm-P2 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 17 Mar 2023 10:42:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pd6b5-0002Hi-Sk; Fri, 17 Mar 2023 05:42: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 1pd6b4-0002Ha-Me for bug-gnu-emacs@gnu.org; Fri, 17 Mar 2023 05:42: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 1pd6b4-0008SJ-Cy for bug-gnu-emacs@gnu.org; Fri, 17 Mar 2023 05:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pd6b4-0001Fy-8o for bug-gnu-emacs@gnu.org; Fri, 17 Mar 2023 05:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Sebastian Tennant Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Mar 2023 09:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62237 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16790461084808 (code B ref -1); Fri, 17 Mar 2023 09:42:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 Mar 2023 09:41:48 +0000 Original-Received: from localhost ([127.0.0.1]:43686 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pd6ap-0001FT-Lc for submit@debbugs.gnu.org; Fri, 17 Mar 2023 05:41:47 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:33236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pd6an-0001FK-Jg for submit@debbugs.gnu.org; Fri, 17 Mar 2023 05:41:45 -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 1pd6an-0002Gt-Ae for bug-gnu-emacs@gnu.org; Fri, 17 Mar 2023 05:41:45 -0400 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pd6ak-0008KX-Vo for bug-gnu-emacs@gnu.org; Fri, 17 Mar 2023 05:41:45 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id C48B45C0125; Fri, 17 Mar 2023 05:41:40 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Fri, 17 Mar 2023 05:41:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sebyte.me; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:message-id:mime-version:reply-to:sender :subject:subject:to:to; s=fm2; t=1679046100; x=1679132500; bh=/G Ev0IErYjNmhuWWwilJFvZGLE6KwTaJuIlo/vQfCeo=; b=SPYMJanjOQzRcDii84 5upoGdu9d+ai4aeF34noPqC646FZSHekNP63bKp1fiqCtSNQKftTN+VhRHpddvjG QMRD6JwhtVH9xYdUw6X5VABd2emZAEtqNjYEvFdRcRWbgMmwR8yEBWm+ZQt2dSvE dVVm1GbjH6aoGDL/K2+fIEXf7XPwTj3xqEaVXuLX/aj6W/GJdNMt1k74vjACRjS2 P15Kzbikx49XCvkCKe9DK2XPldbPaTxmMaC7lCCrtxARXzxRBIN3SUM7RE+PhwJn eqe7cRwS8woUGJUIacphv1gDyWlC+GginJFsRxvNvD+Bu3WOphhEpoJCXd1ydJOp gOzw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1679046100; x=1679132500; bh=/GEv0IErYjNmh uWWwilJFvZGLE6KwTaJuIlo/vQfCeo=; b=sI+l4OeyJi2/Of+WbEtwIclCYMKyN kV9InkKrQaQqtnAfgUsZqBY0s+LC5VJpftbC5xlrysAwjfZIAZXX7YmVtOQGvUU8 ztqjD6DZImjhsxcgchoriyIxKK++RleEPuNytjjlGxt3vOeJpQlqDyytJqG6e0NB F34NuEtcVjo18RMooygC/E7M2T7eXrZg21fvF5qXn1U10xfUgPMtKQsIC0CyzK6h MYO+KwNlsTS/AXYOWOx/v/lyevBpIvp5KrFcPSHcmFSLjnwTMUPfZljIbrVfBD77 5l+dgqj0/ZmoaS2dafg99tEDYsi8gYA29KtT7q+Ov3lQy7EBh4WxLDy/w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdefvddgtdeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkgggtgfesthhqredttd dtjeenucfhrhhomhepufgvsggrshhtihgrnhcuvfgvnhhnrghnthcuoehsughtsehsvggs hihtvgdrmhgvqeenucggtffrrghtthgvrhhnpeekudekffejgeekueelieelffehiedtud eugfetjeehuefhteegveffkedtleevjeenucffohhmrghinhepshgvsgihthgvrdhmvgen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehsvggshi htvgdorhgvthhurhhnqdhprghthhesfhgrshhtmhgrihhlrdgtohhm X-ME-Proxy: Feedback-ID: i9e78401f:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Fri, 17 Mar 2023 05:41:40 -0400 (EDT) Original-Received: from sebyte by scaffold with local (Exim 4.94.2) (envelope-from ) id 1pd6ae-0005fy-LV for bug-gnu-emacs@gnu.org; Fri, 17 Mar 2023 09:41:36 +0000 Received-SPF: pass client-ip=66.111.4.25; envelope-from=sebyte+return-path@fastmail.com; helo=out1-smtp.messagingengine.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:258063 Archived-At: Hello there, Summary: Support for 24-bit true colour, added in Emacs 28.1, breaks colours in Emacsen built without X support and running under GNU Screen (v4.08.00). Steps to reproduce: 1. Build Emacs >=3D 28.1 without X support. The two configurations I have tested are below: ./configure\ ./configure\ --prefix=3D[=E2=80=A6]\ --prefix=3D[=E2=80= =A6]\ --enable-check-lisp-object-type\ --enable-check-lisp-object-ty= pe\ --disable-acl\ --disable-acl\ --without-dbus\ --without-all\ --without-gconf\ --without-x\ --without-gif\ --with-file-notification=3Dye= s\ --without-gsettings\ --with-gnutls\ --without-jpeg\ --with-gpm\ --without-modules\ --with-json\ --without-png\ --with-mailutils\ --without-rsvg\ --with-modules\ --without-selinux\ --with-native-compilation\ --without-sound\ --with-libsystemd\ --without-tiff\ --with-small-ja-dic\ --without-x\ --with-sqlite3\ --without-xpm\ --with-threads\ --with-xml2\ --with-zlib\ 2. Launch a terminal program (e.g. GNOME Terminal) and run GNU Screen (bypassing any .screenrc): $ touch foo $ screen -c foo 3. Run Emacs with 24-bit true colour active and observe the broken colours: $ COLORTERM=3Dtruecolor ./src/emacs -Q Screenshot: https://download.sebyte.me/misc/truecolor-active.png 4. Run Emacs with 24-bit true colour inactive and observe the correct colo= urs: $ COLORTERM=3D ./src/emacs -Q Screenshot: https://download.sebyte.me/misc/truecolor-inactive.png