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#62528: 28.2; Emacsclient doesn't use COLORTERM Date: Wed, 29 Mar 2023 20:21:33 +0300 Message-ID: <837cuz79sy.fsf@gnu.org> References: <998d09cc-292e-4c14-a14c-2d1ad0e3ab34@betaapp.fastmail.com> 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="30063"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 62528@debbugs.gnu.org To: =?UTF-8?Q?Vojt=C4=9Bch_?= =?UTF-8?Q?Bal=C3=A1k?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 29 19:22:25 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 1phZVA-0007aW-TF for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Mar 2023 19:22:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1phZUr-0002m3-8L; Wed, 29 Mar 2023 13:22:05 -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 1phZUp-0002le-BV for bug-gnu-emacs@gnu.org; Wed, 29 Mar 2023 13:22:03 -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 1phZUo-0008Hi-13 for bug-gnu-emacs@gnu.org; Wed, 29 Mar 2023 13:22:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1phZUn-0006ec-NX for bug-gnu-emacs@gnu.org; Wed, 29 Mar 2023 13:22: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: Wed, 29 Mar 2023 17:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62528 X-GNU-PR-Package: emacs Original-Received: via spool by 62528-submit@debbugs.gnu.org id=B62528.168011049325542 (code B ref 62528); Wed, 29 Mar 2023 17:22:01 +0000 Original-Received: (at 62528) by debbugs.gnu.org; 29 Mar 2023 17:21:33 +0000 Original-Received: from localhost ([127.0.0.1]:54901 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phZUL-0006dt-Hg for submit@debbugs.gnu.org; Wed, 29 Mar 2023 13:21:33 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47346) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phZUJ-0006df-G8 for 62528@debbugs.gnu.org; Wed, 29 Mar 2023 13:21:32 -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 1phZUD-0008D8-Uf; Wed, 29 Mar 2023 13:21:25 -0400 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=2NT+8tEzyUzoV7ZvBxYO0YKyf/SSdrtqvHSAGJOSuaA=; b=Cs0lLR+46YPb+vo2pHPZ zsfzkfLGcJqE2JefNL0n78VrN8JsJ0hJJr8axZMQ1rwychKjO08TVgM2pTL9unsKUZLSxPODJvHc0 G71UX0sELl5f4d++JwyF+J1hx0albXQiJ0qqck2Pry4rmv82tUmezsK9FILbXsTcJpRDfaLVotvlo bzuD8x5Cn0SgXvlP5c2sUtNNpQYq6+qP+bFetVwERemb8CtFf94MwLJuvVddflEE+PKI8xTln0zsI s3ZYiZqObd6ErKaJi+8i9KCvAK4LLK+1gX82CXcS9bVaX1QJdLffSGFKeXVblUIvjEX4TPBU1gZQh 6o1lWjJm5P19Qg==; 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 1phZUD-00035n-4q; Wed, 29 Mar 2023 13:21:25 -0400 In-Reply-To: <998d09cc-292e-4c14-a14c-2d1ad0e3ab34@betaapp.fastmail.com> (message from =?UTF-8?Q?Vojt=C4=9Bch_?= =?UTF-8?Q?Bal=C3=A1k?= on Wed, 29 Mar 2023 17:06:18 +0200) 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:258865 Archived-At: > Date: Wed, 29 Mar 2023 17:06:18 +0200 > From: Vojtěch Balák > > When starting Emacs in a terminal emulator with 24 bit color support, > I would like it to take advantage of this. According to the FAQ > section 5.3, setting the variable COLORTERM to truecolor should > result in Emacs using 24 bit colors. But according to my observations, > this is not always true. > > Starting Emacs in these ways does result in it using true color: > TERM=xterm-256color COLORTERM=truecolor emacs -nw > TERM=xterm-direct COLORTERM= emacs -nw > TERM=xterm-direct COLORTERM= emacsclient -nw > > Starting it in these ways does result in it NOT using true color: > TERM=xterm-256color COLORTERM= emacs -nw > TERM=xterm-256color COLORTERM= emacsclient -nw > TERM=xterm-256color COLORTERM=truecolor emacsclient -nw > > The last one is the odd one out. According to my understanding, that > should result in 24 bit color being used, but in practice it does not. I think you are misinterpreting what the documentation says. COLORTERM=truecolor can only affect Emacs, it cannot affect the display triggered by emacsclient.