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#69598: 29.2; colour support based on $TERM value not terminfo database Date: Fri, 08 Mar 2024 21:50:01 +0200 Message-ID: <86edckzeom.fsf@gnu.org> References: <202403062301.426N1ms7277304@zeus.jtan.com> <86o7bqk06u.fsf@gnu.org> <202403071732.427HWear369011@zeus.jtan.com> <86sf120w9y.fsf@gnu.org> <202403071831.427IVMWs374766@zeus.jtan.com> <86plw5268n.fsf@gnu.org> <202403071959.427JxJTO382071@zeus.jtan.com> <86le6t247d.fsf@gnu.org> <202403072145.427LjkS8393330@zeus.jtan.com> <86jzmd19mg.fsf@gnu.org> <202403081136.428BaKSG077496@zeus.jtan.com> <86zfv8zzdv.fsf@gnu.org> <202403081423.428ENSpk162347@zeus.jtan.com> <86sf10zrnk.fsf@gnu.org> <202403081852.428IqU5m307520@zeus.jtan.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19786"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 69598@debbugs.gnu.org, chohag@jtan.com To: chohag@jtan.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 08 20:51:45 2024 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 1rigFt-0004zC-7g for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 08 Mar 2024 20:51:45 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rigFg-0006R7-3C; Fri, 08 Mar 2024 14:51:32 -0500 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 1rigFe-0006Qw-GM for bug-gnu-emacs@gnu.org; Fri, 08 Mar 2024 14:51:30 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rigFe-0005VG-6y for bug-gnu-emacs@gnu.org; Fri, 08 Mar 2024 14:51:30 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rigGA-0001vt-BU for bug-gnu-emacs@gnu.org; Fri, 08 Mar 2024 14:52: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: Fri, 08 Mar 2024 19:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69598 X-GNU-PR-Package: emacs Original-Received: via spool by 69598-submit@debbugs.gnu.org id=B69598.17099274807377 (code B ref 69598); Fri, 08 Mar 2024 19:52:02 +0000 Original-Received: (at 69598) by debbugs.gnu.org; 8 Mar 2024 19:51:20 +0000 Original-Received: from localhost ([127.0.0.1]:59624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rigFN-0001up-T9 for submit@debbugs.gnu.org; Fri, 08 Mar 2024 14:51:20 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34038) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rigFH-0001uR-If for 69598@debbugs.gnu.org; Fri, 08 Mar 2024 14:51:12 -0500 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 1rigEd-0005GZ-0p; Fri, 08 Mar 2024 14:50:27 -0500 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=vzSfW+A9+1fykVNQJKUd7npT70qglpu0P1/y6108HEU=; b=U5JWG2gayhJF uy96bSvpnYMwrRL4Zq3oZPtuF/P6PUq95Y/jwx6Jc/R06pcNAp/AzxiIYAH71hG+MSf39LLzZQnlg Eai2QlGG3lZagShCSkmDZNs5JT2Qdw5PkqKNEigAapddSGyCO+eQaYyJiLWRjiqhqUeWw+NKYa7FS SiMLBGAiiJNhMltp0BuS92yNtLdM79pMM27Q1c0gLjSkBFc6KKRrx+D12G1RF8muzg0rQRPHfZl4y oOSFEdVYAdWjM1EcL62RuaqbY2qnhg2y5u62RuVqbR2GIem2zlCQvlBtnsE9e+aD3VKDdnkzTh8Xo /TbyK9zXAXrBHHD53QyYyw==; In-Reply-To: <202403081852.428IqU5m307520@zeus.jtan.com> (chohag@jtan.com) 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:281265 Archived-At: > From: chohag@jtan.com > cc: chohag@jtan.com, 69598@debbugs.gnu.org > Comments: In-reply-to Eli Zaretskii > message dated "Fri, 08 Mar 2024 17:09:51 +0200." > Date: Fri, 08 Mar 2024 18:52:28 +0000 > > > So you now agree with me that a terminal file in lisp/term is needed > > for this situation? Or are there issues that are still unaccounted > > for, as far as color support is concerned? > > I don't agree. In that case, we will have to agree to disagree, sorry. > In short, if emacs only supports colour (or any other feature) on > specific terminals it knows about in advance, it should say so and > not imply that a terminfo or termcap capability is sufficient. Support for colors beyond the basic 8 is very specific to terminals. Emacs solves this problem by relying on the name of the terminal. So any new terminal has to abide by this protocol. That's how this stuff works in Emacs.