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: Sat, 18 Mar 2023 15:29:52 +0200 Message-ID: <83lejub31r.fsf@gnu.org> References: <87sfe390kv.fsf@sebyte.me> <83h6ujefq1.fsf@gnu.org> <87wn3fs7yw.fsf@gmail.com> <833563e3xc.fsf@gnu.org> <87sfe3s26k.fsf@gmail.com> <83pm97cin8.fsf@gnu.org> <87o7oqsa36.fsf@gmail.com> <83v8iybf49.fsf@gnu.org> <871qlms7h3.fsf@gmail.com> <83r0tmbb11.fsf@gnu.org> <87sfe2qo5u.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33326"; mail-complaints-to="usenet@ciao.gmane.io" Cc: sdt@sebyte.me, 62237@debbugs.gnu.org To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 18 14:30:27 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 1pdWdf-0008QY-5T for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Mar 2023 14:30:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pdWdL-0005pv-Uv; Sat, 18 Mar 2023 09:30:08 -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 1pdWdI-0005pQ-8O for bug-gnu-emacs@gnu.org; Sat, 18 Mar 2023 09:30:06 -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 1pdWdH-0002cM-VH for bug-gnu-emacs@gnu.org; Sat, 18 Mar 2023 09:30:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pdWdH-0003QP-Q1 for bug-gnu-emacs@gnu.org; Sat, 18 Mar 2023 09:30:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Mar 2023 13:30:03 +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.167914619913113 (code B ref 62237); Sat, 18 Mar 2023 13:30:03 +0000 Original-Received: (at 62237) by debbugs.gnu.org; 18 Mar 2023 13:29:59 +0000 Original-Received: from localhost ([127.0.0.1]:46651 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pdWdC-0003PQ-S7 for submit@debbugs.gnu.org; Sat, 18 Mar 2023 09:29:59 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:54784) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pdWdA-0003PB-Vq for 62237@debbugs.gnu.org; Sat, 18 Mar 2023 09:29:57 -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 1pdWd5-0002Sb-Ev; Sat, 18 Mar 2023 09:29:51 -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=kNo+GxdWsAcYCYu5c73gUlGp3KNG9YVI4HB4X0PpL1I=; b=mA4kzUnSw3uc SrWC3+Ts+kslwVod79tGLFXUE+tzpzaDTVopxOeCBFXI7lIKW49NENxt7sKJ4YIF5klG3skzfijLT v1zluwL0OBgk0Ltdv3B+BRHZaok+4zHOQsacraf/ZsdnP13WF8CSs++2LODHVznZOoV7PkgWcNkK4 FjZ5Jvo0Dpm+mPZIjFJpu/oJbdL060nlD4Dhmn72WI/5Z8ZkUUEhWGbQLu+srPub1MTSwHsV/23GG +pf+AtREdE7gAavSqTOdLu/SybLmb7Xr/MnUHXKsvLvf7FZOOXvbUNE3WFbiFqqKnuT+lYwQP+Ifv vya0YoF5Tc7zOVTdcdGdMQ==; 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 1pdWd4-0000GQ-Qb; Sat, 18 Mar 2023 09:29:51 -0400 In-Reply-To: <87sfe2qo5u.fsf@gmail.com> (message from Robert Pluim on Sat, 18 Mar 2023 12:44:45 +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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:258173 Archived-At: > From: Robert Pluim > Cc: sdt@sebyte.me, 62237@debbugs.gnu.org > Date: Sat, 18 Mar 2023 12:44:45 +0100 > > >>>>> On Sat, 18 Mar 2023 12:37:30 +0200, Eli Zaretskii said: > > Eli> Then I guess we should install your proposed fix in init_tty. > > In emacs-29? That seems a bit radical. Patch below in any case Yes, I think in emacs-29. Why "radical"? > I guess we could do something with not checking COLORTERM under screen > instead. That's a separate issue, from where I stand. Users can unset COLORTERM, but their true terminal type will still be "hidden" behind the "screen." prefix, won't it? The terminal type is about more than just the colors. Or does terminfo know about this "screen." business?