From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#33398: 26.1, netbsd-8; Hi Lock Faces, Hi Green B, default setting suggestion Date: Wed, 19 Dec 2018 02:36:33 +0200 Organization: LINKOV.NET Message-ID: <87ftuuwdwu.fsf@mail.linkov.net> References: <9B715204-BE6D-4F02-B484-1EA9EDACE0EB@scratch.space> <87d0r04tmg.fsf@mail.linkov.net> <87sgzv747k.fsf@mail.linkov.net> <740AF1DA-7EDB-4310-8C6E-F7944D714513@scratch.space> <87sgzuca5o.fsf@mail.linkov.net> <87a7m0hi5t.fsf@mail.linkov.net> <837eh4gpjd.fsf@gnu.org> <87a7lyi29o.fsf@mail.linkov.net> <837eh1jeak.fsf@gnu.org> <87k1l0c3be.fsf@mail.linkov.net> <83h8g3j0aa.fsf@gnu.org> <87y39fmnbn.fsf@mail.linkov.net> <83mupvgj18.fsf@gnu.org> <87r2f6hzf1.fsf@mail.linkov.net> <87ftvkssxh.fsf@mail.linkov.net> <838t1ce3tw.fsf@gnu.org> <871s73cybi.fsf@mail.linkov.net> <83o9a7c9wk.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1545179831 1437 195.159.176.226 (19 Dec 2018 00:37:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 19 Dec 2018 00:37:11 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: van@scratch.space, 33398@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 19 01:37:06 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gZPrG-0000F3-9s for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Dec 2018 01:37:06 +0100 Original-Received: from localhost ([::1]:57089 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZPtM-0006Id-Td for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Dec 2018 19:39:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37456) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZPtF-0006IY-NY for bug-gnu-emacs@gnu.org; Tue, 18 Dec 2018 19:39:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gZPt8-0005EH-Ky for bug-gnu-emacs@gnu.org; Tue, 18 Dec 2018 19:39:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49627) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gZPt8-0005E6-FY for bug-gnu-emacs@gnu.org; Tue, 18 Dec 2018 19:39:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gZPt8-0006GA-8Y for bug-gnu-emacs@gnu.org; Tue, 18 Dec 2018 19:39:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Dec 2018 00:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33398 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33398-submit@debbugs.gnu.org id=B33398.154517991124021 (code B ref 33398); Wed, 19 Dec 2018 00:39:02 +0000 Original-Received: (at 33398) by debbugs.gnu.org; 19 Dec 2018 00:38:31 +0000 Original-Received: from localhost ([127.0.0.1]:53885 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gZPsc-0006FM-WE for submit@debbugs.gnu.org; Tue, 18 Dec 2018 19:38:31 -0500 Original-Received: from bisque.maple.relay.mailchannels.net ([23.83.214.18]:2233) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gZPsa-0006FA-DT for 33398@debbugs.gnu.org; Tue, 18 Dec 2018 19:38:29 -0500 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id BF95368299C; Wed, 19 Dec 2018 00:38:26 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a38.g.dreamhost.com (unknown [100.96.19.78]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 5B09A680D79; Wed, 19 Dec 2018 00:38:26 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a38.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.16.2); Wed, 19 Dec 2018 00:38:26 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Name-Zesty: 3745e954529916df_1545179906625_1175278552 X-MC-Loop-Signature: 1545179906624:3326524970 X-MC-Ingress-Time: 1545179906624 Original-Received: from pdx1-sub0-mail-a38.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a38.g.dreamhost.com (Postfix) with ESMTP id 06A7881DF4; Tue, 18 Dec 2018 16:38:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=weJfsn0HPNpGYRTRbI9J1aQttMk=; b= T/f06KGoPy+nDo+L4yPgqcKY0XwMNM3qtuNqOm6nqv7Sk+wgS8+dk3IQ2kfmLYEe h9DZ1PJ3NMYlDH8lrlZSxYHe8RcQi2oHeKLpHmUWL4zH8JxlHlD5uWC76qT/9fNa wxslsOcugO2KHIuCJ9jEciH1iP5hkQfnqMTRKMktroM= Original-Received: from mail.jurta.org (m91-129-96-177.cust.tele2.ee [91.129.96.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a38.g.dreamhost.com (Postfix) with ESMTPSA id CFA7E81DFB; Tue, 18 Dec 2018 16:38:23 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a38 In-Reply-To: <83o9a7c9wk.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 30 Nov 2018 09:16:43 +0200") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtkedrudeikedgudefkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffuohhfffgjkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecuffhomhgrihhnpeifihhkihhpvgguihgrrdhorhhgnecukfhppeeluddruddvledrleeirddujeejnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledrleeirddujeejpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtohepvghlihiisehgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgeptd X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:153587 Archived-At: >> > I don't see how "gold" can be translated to "red", sorry. It >> > translates to yellow shades on both 8- and 16-color TTYs, as expected. >> > Did you try "IndianRed" instead? >> >> Unfortunately, "IndianRed" is so dark that it's unreadable. >> Whereas "Gold" is so prefect, that I can't find a replacement. >> But are translations really required? I created a definition >> that works well on all environments (I see that "gold" looks good >> on a graphical terminal, but on a 256-color TTY "orange" is better). >> Do you see a problem with these best-looking faces? > > Yes, I definitely see a problem when a face called "hi-gold" is > displayed as red on some devices. Sorry for asking about such minor issue, but I have another idea below. > Are you saying that none of the shades of red in rgb.txt is good > enough to use on GUI frames where "red" is used on TTYs? I find that > hard to believe. What about DarkOrange, what about Coral, what about > OrangeRed, what about LightSalmon[1-3], what about sienna[1-3], what > about IndianRed1, what about tomato[1-3], chocolate[1-3], etc.? Among all these colors the least bad is LightSalmon, but it has the same saturation as Orange, not as much lighter Gold that would be the best choice. > Call it "hi-reddish" if you must, just don't have something called > "gold" look red on TTYs, please. We can call it "hi-redgold" because such thing really exists: https://en.wikipedia.org/wiki/Red_gold (defface hi-redgold '((((min-colors 88) (type x w32 ns)) (:background "gold")) (((min-colors 88)) (:background "orange")) (((min-colors 16)) (:background "red")) (t (:background "red"))) "Face for hi-lock mode." :group 'hi-lock-faces)