bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#33398: 26.1, netbsd-8; Hi Lock Faces, Hi Green B, default setting su


From: Eli Zaretskii
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

> From: Juri Linkov <juri@linkov.net>
> 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?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]