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#70941: 30.0.50; Low RGB color values use the terminal palette in TUI Date: Sun, 19 May 2024 18:34:53 +0300 Message-ID: <864jatbysi.fsf@gnu.org> References: <4347621B-17D9-4CAD-933A-3E8F1DC46A84@fiberplane.com> <86pltouwly.fsf@gnu.org> <51962D32-7656-442E-9DFD-07A4AA533057@fiberplane.com> <86bk53e7vh.fsf@gnu.org> <86r0dzcekx.fsf@gnu.org> 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="32169"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70941@debbugs.gnu.org To: Gerry Agbobada Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 19 17:36:10 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 1s8ia2-0008Cu-0Y for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 May 2024 17:36:10 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s8iZt-0007SR-E4; Sun, 19 May 2024 11:36:02 -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 1s8iZp-0007SJ-RA for bug-gnu-emacs@gnu.org; Sun, 19 May 2024 11:35:57 -0400 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 1s8iZp-000434-J3 for bug-gnu-emacs@gnu.org; Sun, 19 May 2024 11:35:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s8iZt-0002jU-Jt for bug-gnu-emacs@gnu.org; Sun, 19 May 2024 11:36: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: Sun, 19 May 2024 15:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70941 X-GNU-PR-Package: emacs Original-Received: via spool by 70941-submit@debbugs.gnu.org id=B70941.171613290710486 (code B ref 70941); Sun, 19 May 2024 15:36:01 +0000 Original-Received: (at 70941) by debbugs.gnu.org; 19 May 2024 15:35:07 +0000 Original-Received: from localhost ([127.0.0.1]:36728 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8iZ1-0002j3-98 for submit@debbugs.gnu.org; Sun, 19 May 2024 11:35:07 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46958) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8iYy-0002ib-Qj for 70941@debbugs.gnu.org; Sun, 19 May 2024 11:35:05 -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 1s8iYp-0003eA-DI; Sun, 19 May 2024 11:34:55 -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=wLKUmftxDHqOgdxzKyMp9/uU7dTJkd5KauB26UGAqVY=; b=ncLFbUJ2/GmAFTEX6K+Z 4WGjyrkZ/5dm+rFCt79sLNUKuS46iCIhbk9IKPNilf6NLgcFdedLGO7I6UwPehW3Z0vFkXJjVBgde noBKEa8glGCWsBwbHPQuSbo5qdbeD9kq0ikIJ/JOH4NweEY+Z2ezUQFJpzvAd6jxtIludFgIOdEQB RcTNqJh7F1RjNaGdZoXu/TodxIBeU4NN+/7OMHNVwQfPdLZA5rflN5jsIGQo0+E+5eT2X1QzRbFEY 5N320QVHno4ZiqDY0g9OdrKFtuvLq/4xPwuSoOOuNdyk6UnqnYCxQzlL4olgeGqmgfdY1Bwh+GQzd 1MaeacgvDneS3g==; In-Reply-To: (message from Gerry Agbobada on Sun, 19 May 2024 15:54:48 +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:285438 Archived-At: > From: Gerry Agbobada > Date: Sun, 19 May 2024 15:54:48 +0200 > Cc: 70941@debbugs.gnu.org > > > I think the fact that you get the first few colors as you do is > > largely a coincidence, and is not necessarily related. > > > > I suggest that you first try the change I pointed out: using #RGB > > color specs with 4 hex digits per component, not 2 digits. If that > > doesn't work as you expect, we can take it from there. > > I changed the script to use the 4 hex digits, and the black colors > still look weird They now all look the same, but for some reason they look almost white, not black. I cannot reproduce this on systems to which I have access, so you or someone else will have to debug this with that particular terminal. What does the below report on that terminal? M-: (tty-color-desc "#000000000000") RET > That’s the part I wanted to report as bug, all the colors that seem > to be specified as RGB but are only low blue values seem to be > handled differently (and, to me, unexpectedly) than most of the > other colors. It’s probably reproducible in a dark theme too, but > this is more visual with a light Emacs theme and a terminal > emulator theme that has a 0th palette colour that is light > instead of dark What do you mean by "dark theme"? This is in "emacs -Q", right? without any theme being loaded by Emacs, right?