From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii 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 17:19:34 +0200 Message-ID: <83lg4lcznd.fsf@gnu.org> 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> <87ftuuwdwu.fsf@mail.linkov.net> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1545233183 9256 195.159.176.226 (19 Dec 2018 15:26:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 19 Dec 2018 15:26:23 +0000 (UTC) Cc: van@scratch.space, 33398@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 19 16:26:18 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 1gZdjm-0002IY-AX for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Dec 2018 16:26:18 +0100 Original-Received: from localhost ([::1]:60772 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZdls-0005Pm-UH for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Dec 2018 10:28:29 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZddl-0006Cz-Hf for bug-gnu-emacs@gnu.org; Wed, 19 Dec 2018 10:20:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gZddi-0004Eb-9i for bug-gnu-emacs@gnu.org; Wed, 19 Dec 2018 10:20:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50703) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gZddi-0004ES-5z for bug-gnu-emacs@gnu.org; Wed, 19 Dec 2018 10:20:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gZddi-00019j-0J for bug-gnu-emacs@gnu.org; Wed, 19 Dec 2018 10:20: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: Wed, 19 Dec 2018 15:20: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.15452327754404 (code B ref 33398); Wed, 19 Dec 2018 15:20:01 +0000 Original-Received: (at 33398) by debbugs.gnu.org; 19 Dec 2018 15:19:35 +0000 Original-Received: from localhost ([127.0.0.1]:54961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gZddG-00018y-VD for submit@debbugs.gnu.org; Wed, 19 Dec 2018 10:19:35 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:45740) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gZddF-00018I-C0 for 33398@debbugs.gnu.org; Wed, 19 Dec 2018 10:19:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gZdd6-0003r9-Vr for 33398@debbugs.gnu.org; Wed, 19 Dec 2018 10:19:28 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39482) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZdd6-0003qr-Po; Wed, 19 Dec 2018 10:19:24 -0500 Original-Received: from [176.228.60.248] (port=4542 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gZdd6-0007EF-9j; Wed, 19 Dec 2018 10:19:24 -0500 In-reply-to: <87ftuuwdwu.fsf@mail.linkov.net> (message from Juri Linkov on Wed, 19 Dec 2018 02:36:33 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:153597 Archived-At: > From: Juri Linkov > Cc: van@scratch.space, 33398@debbugs.gnu.org > Date: Wed, 19 Dec 2018 02:36:33 +0200 > > > 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... > (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"))) 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?