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: Mon, 26 Nov 2018 18:01:17 +0200 Message-ID: <83h8g3j0aa.fsf@gnu.org> References: <9B715204-BE6D-4F02-B484-1EA9EDACE0EB@scratch.space> <87wope15gh.fsf@mail.linkov.net> <4D07BB6C-98A9-4EC2-BB37-097D5D753E53@scratch.space> <87wopbzeuy.fsf@mail.linkov.net> <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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1543248020 20812 195.159.176.226 (26 Nov 2018 16:00:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 26 Nov 2018 16:00:20 +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 Mon Nov 26 17:00:15 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 1gRJIz-0005Do-FV for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Nov 2018 17:00:13 +0100 Original-Received: from localhost ([::1]:37382 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRJL5-0003I3-Rr for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Nov 2018 11:02:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57054) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRJKu-0003Hl-HO for bug-gnu-emacs@gnu.org; Mon, 26 Nov 2018 11:02:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gRJKk-0002f6-SX for bug-gnu-emacs@gnu.org; Mon, 26 Nov 2018 11:02:12 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45734) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gRJKk-0002f2-Pc for bug-gnu-emacs@gnu.org; Mon, 26 Nov 2018 11:02:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gRJKk-0007Xq-Ji for bug-gnu-emacs@gnu.org; Mon, 26 Nov 2018 11:02: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: Mon, 26 Nov 2018 16:02: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.154324808728954 (code B ref 33398); Mon, 26 Nov 2018 16:02:02 +0000 Original-Received: (at 33398) by debbugs.gnu.org; 26 Nov 2018 16:01:27 +0000 Original-Received: from localhost ([127.0.0.1]:49991 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gRJKA-0007Ww-PY for submit@debbugs.gnu.org; Mon, 26 Nov 2018 11:01:27 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47178) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gRJK8-0007Wf-C0 for 33398@debbugs.gnu.org; Mon, 26 Nov 2018 11:01:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gRJJy-0002Jn-Gr for 33398@debbugs.gnu.org; Mon, 26 Nov 2018 11:01:19 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50326) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRJJy-0002Jf-Dm; Mon, 26 Nov 2018 11:01:14 -0500 Original-Received: from [176.228.60.248] (port=4065 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gRJJw-0005lS-Io; Mon, 26 Nov 2018 11:01:14 -0500 In-reply-to: <87k1l0c3be.fsf@mail.linkov.net> (message from Juri Linkov on Sun, 25 Nov 2018 22:25:25 +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:152787 Archived-At: > From: Juri Linkov > Cc: van@scratch.space, 33398@debbugs.gnu.org > Date: Sun, 25 Nov 2018 22:25:25 +0200 > > The problem is that the condition '(t (:background "pink"))' is > automatically translated to "magenta" on a 8-color TTY. And in the > 'hi-blue' face '(t (:background "light blue"))' is translated to "cyan". > > So to add a new face with a "blue" background on a 8-color TTY > with the condition '(t (:background "blue"))' we have no suitable name > for a new face, become the most suitable name 'hi-blue' is already > taken by the existing face that is displayed as "cyan". > > The same problem is with 'hi-pink' that is currently translated to > "magenta", not to "red" on a 8-color TTY. (Converting "pink" to "magenta" and "lightblue" to "cyan" sounds fine to me.) So your problem is with the names of the faces? Then may I suggest to name the new faces hi-red and hi-deepblue? > ‘--color=MODE’ > ... > ‘NUM’ > ... > Depending on your terminal’s capabilities, Emacs might be able > to turn on a color mode for 8, 16, 88, or 256 as the value of NUM. > > I guess the key point is "Depending on your terminal’s capabilities". > This might explain why values other than 8 and 256 are not supported. Right. But this subtlety is slightly misleading.