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: Thu, 20 Dec 2018 18:11:55 +0200 Message-ID: <834lb8ch4k.fsf@gnu.org> 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> <87r2edkytr.fsf@mail.linkov.net> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1545322211 6709 195.159.176.226 (20 Dec 2018 16:10:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 20 Dec 2018 16:10:11 +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 Thu Dec 20 17:10:07 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 1ga0tf-0001Wu-9P for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Dec 2018 17:10:03 +0100 Original-Received: from localhost ([::1]:38498 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ga0vm-0003wx-0e for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Dec 2018 11:12:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42639) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ga0vb-0003vg-Px for bug-gnu-emacs@gnu.org; Thu, 20 Dec 2018 11:12:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ga0va-0005UW-Cz for bug-gnu-emacs@gnu.org; Thu, 20 Dec 2018 11:12:03 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52406) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ga0va-0005UB-8r for bug-gnu-emacs@gnu.org; Thu, 20 Dec 2018 11:12:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ga0va-0006DG-3j for bug-gnu-emacs@gnu.org; Thu, 20 Dec 2018 11:12: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: Thu, 20 Dec 2018 16:12: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.154532231923873 (code B ref 33398); Thu, 20 Dec 2018 16:12:02 +0000 Original-Received: (at 33398) by debbugs.gnu.org; 20 Dec 2018 16:11:59 +0000 Original-Received: from localhost ([127.0.0.1]:56664 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ga0vX-0006Cz-9U for submit@debbugs.gnu.org; Thu, 20 Dec 2018 11:11:59 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:32966) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ga0vW-0006Ce-DI for 33398@debbugs.gnu.org; Thu, 20 Dec 2018 11:11:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ga0vL-0005It-Dj for 33398@debbugs.gnu.org; Thu, 20 Dec 2018 11:11:51 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39293) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ga0vL-0005In-9m; Thu, 20 Dec 2018 11:11:47 -0500 Original-Received: from [176.228.60.248] (port=1537 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ga0vJ-0006Ur-LC; Thu, 20 Dec 2018 11:11:47 -0500 In-reply-to: <87r2edkytr.fsf@mail.linkov.net> (message from Juri Linkov on Wed, 19 Dec 2018 23:40:08 +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:153640 Archived-At: > From: Juri Linkov > Cc: van@scratch.space, 33398@debbugs.gnu.org > Date: Wed, 19 Dec 2018 23:40:08 +0200 > > > (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. I don't have access to such a terminal, but on a 16-color TTY "gold" displays as bright yellow, which is definitely not red. So I'm surprised you see red on a 88-color TTY. > 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) Thanks.