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: Fri, 21 Dec 2018 01:01:00 +0200 Organization: LINKOV.NET Message-ID: <87zhszdcr7.fsf@mail.linkov.net> References: <9B715204-BE6D-4F02-B484-1EA9EDACE0EB@scratch.space> <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> <834lb8ch4k.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1545346873 25360 195.159.176.226 (20 Dec 2018 23:01:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 20 Dec 2018 23:01: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-done@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 21 00:01:09 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 1ga7JU-0006T1-Rp for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Dec 2018 00:01:09 +0100 Original-Received: from localhost ([::1]:41426 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ga7Lb-0007u0-DX for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Dec 2018 18:03:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39143) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ga7LO-0007sn-5G for bug-gnu-emacs@gnu.org; Thu, 20 Dec 2018 18:03:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ga7LK-0000zM-VF for bug-gnu-emacs@gnu.org; Thu, 20 Dec 2018 18:03:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52630) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ga7LK-0000z7-Q7 for bug-gnu-emacs@gnu.org; Thu, 20 Dec 2018 18:03:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ga7LK-0007Mi-LB for bug-gnu-emacs@gnu.org; Thu, 20 Dec 2018 18:03:02 -0500 Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Dec 2018 23:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 33398 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 33398@debbugs.gnu.org, juri@linkov.net, van@scratch.space Original-Received: via spool by 33398-done@debbugs.gnu.org id=D33398.154534693328244 (code D ref 33398); Thu, 20 Dec 2018 23:03:02 +0000 Original-Received: (at 33398-done) by debbugs.gnu.org; 20 Dec 2018 23:02:13 +0000 Original-Received: from localhost ([127.0.0.1]:56886 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ga7KX-0007LT-CW for submit@debbugs.gnu.org; Thu, 20 Dec 2018 18:02:13 -0500 Original-Received: from ladybird.maple.relay.mailchannels.net ([23.83.214.98]:53244) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ga7KW-0007LK-8g for 33398-done@debbugs.gnu.org; Thu, 20 Dec 2018 18:02:12 -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 D01F25E33F6; Thu, 20 Dec 2018 23:02:10 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a6.g.dreamhost.com (unknown [100.96.29.126]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 683395E2B08; Thu, 20 Dec 2018 23:02:10 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a6.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); Thu, 20 Dec 2018 23:02:10 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Oafish-Cellar: 28e8160d1208d180_1545346930570_4092389052 X-MC-Loop-Signature: 1545346930570:879317979 X-MC-Ingress-Time: 1545346930570 Original-Received: from pdx1-sub0-mail-a6.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a6.g.dreamhost.com (Postfix) with ESMTP id 2D99580852; Thu, 20 Dec 2018 15:02:10 -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=4rhE1oRYVmqVBSIC9SiR3BBmx9M=; b= QogyAQKK7i9WlTO/r6n4a9r8LUacL8lRXR91HI7jg36wyOuLGDLo0HMiPJ1K7yAA 73SJLPF0/jyfeZBI3cZ6IL9SZv7EU0HzDhQI6bBE7yN3WPs0otWzeVQ4WVVJ9Jxd EjTSeb/3PoV8ibwTlm4aj0XAAupsoB1zs0qRZPq3E6Q= 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-a6.g.dreamhost.com (Postfix) with ESMTPSA id 6FC498084F; Thu, 20 Dec 2018 15:02:06 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a6 In-Reply-To: <834lb8ch4k.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 20 Dec 2018 18:11:55 +0200") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtkedrudejgedgtddvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrddutdeirdejleenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrddutdeirdejledprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopegvlhhiiiesghhnuhdrohhrghenucevlhhushhtvghrufhiiigvpedt 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:153660 Archived-At: >> > (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. Actually, I meant that I see red on a 88-color graphical display. >> 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. Installed to master and closed. It seems there is no need to update NEWS because the users will see themselves two new colors added.