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 23:40:08 +0200 Organization: LINKOV.NET Message-ID: <87r2edkytr.fsf@mail.linkov.net> References: <9B715204-BE6D-4F02-B484-1EA9EDACE0EB@scratch.space> <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> <87ftuuwdwu.fsf@mail.linkov.net> <83lg4lcznd.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1545256753 6262 195.159.176.226 (19 Dec 2018 21:59:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 19 Dec 2018 21:59:13 +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 22:59:08 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 1gZjrw-0001VP-De for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Dec 2018 22:59:08 +0100 Original-Received: from localhost ([::1]:34358 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZju3-000304-9I for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Dec 2018 17:01:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56521) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZjtq-0002zq-7y for bug-gnu-emacs@gnu.org; Wed, 19 Dec 2018 17:01:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gZjtm-0003pr-5w for bug-gnu-emacs@gnu.org; Wed, 19 Dec 2018 17:01:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50951) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gZjtm-0003pj-1n for bug-gnu-emacs@gnu.org; Wed, 19 Dec 2018 17:01:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gZjtl-00059A-U0 for bug-gnu-emacs@gnu.org; Wed, 19 Dec 2018 17:01:01 -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 22:01:01 +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.154525680819621 (code B ref 33398); Wed, 19 Dec 2018 22:01:01 +0000 Original-Received: (at 33398) by debbugs.gnu.org; 19 Dec 2018 22:00:08 +0000 Original-Received: from localhost ([127.0.0.1]:55198 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gZjst-00056J-Sd for submit@debbugs.gnu.org; Wed, 19 Dec 2018 17:00:08 -0500 Original-Received: from bonobo.maple.relay.mailchannels.net ([23.83.214.22]:58634) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gZjsp-00054s-6H for 33398@debbugs.gnu.org; Wed, 19 Dec 2018 17:00:06 -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 E37443E426D; Wed, 19 Dec 2018 22:00:01 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a54.g.dreamhost.com (unknown [100.96.35.77]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 870743E3A72; Wed, 19 Dec 2018 22:00:01 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a54.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 22:00:01 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Harmony-Cooperative: 334a4e782a2ba190_1545256801733_2387926448 X-MC-Loop-Signature: 1545256801733:2721167119 X-MC-Ingress-Time: 1545256801732 Original-Received: from pdx1-sub0-mail-a54.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a54.g.dreamhost.com (Postfix) with ESMTP id 0FA1F8039C; Wed, 19 Dec 2018 14:00:01 -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=4mRjIr6pBo7NakjbYSMZFsQCdCg=; b= 08qXBpKpLNG4giffQihEKjreWZre/6Y2+3msbuvYj58UvF/+UOFj5869v6s6LOBo zIhXg4H3XvoN87cBZ+nsZCAQ7noI732Fci9d5SQawyDkpHl76GnY6Trhx3nQk1X0 WTZoQpSpq4IWsCTJXKnYT0UTW0zcJIyoIeTBeBksvqY= Original-Received: from mail.jurta.org (m91-129-106-79.cust.tele2.ee [91.129.106.79]) (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-a54.g.dreamhost.com (Postfix) with ESMTPSA id 8704C803B0; Wed, 19 Dec 2018 13:59:57 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a54 In-Reply-To: <83lg4lcznd.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 19 Dec 2018 17:19:34 +0200") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtkedrudejtddgudehiecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffuohhfffgjkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecuffhomhgrihhnpeifihhkihhpvgguihgrrdhorhhgnecukfhppeeluddruddvledruddtiedrjeelnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledruddtiedrjeelpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtohepvghlihiisehgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgeptd 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:153618 Archived-At: >> > 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 > > If that's the best we can do... Another variant that you suggested to try LightSalmon looks good too, and maybe even better than Gold because Gold is too close to the existing hi-yellow, whereas LightSalmon is quite far away from the existing hi-pink. > How about this instead: > > (defface hi-redgold > '((((min-colors 8)) (:background "red")) > (t (:background "gold"))) > "Face for hi-lock mode." > :group 'hi-lock-faces) > > I see no reason to use "red" on 16-color terminals, nor "orange" on > color TTYs with at least 88 colors. The translation of "gold" should > be good enough in those cases. Isn't it? I tried, and it used "red" even on 88-colors. But given that LightSalmon is a good choice, I copied the same definitions from other faces, substituted with new colors and they look good on all environments: (defface hi-salmon '((((min-colors 88) (background dark)) (:background "light salmon" :foreground "black")) (((background dark)) (:background "red" :foreground "black")) (((min-colors 88)) (:background "light salmon")) (t (:background "red"))) "Face for hi-lock mode." :group 'hi-lock-faces) (defface hi-aquamarine '((((min-colors 88) (background dark)) (:background "aquamarine" :foreground "black")) (((background dark)) (:background "blue" :foreground "black")) (((min-colors 88)) (:background "aquamarine")) (t (:background "blue"))) "Face for hi-lock mode." :group 'hi-lock-faces)