GNU bug report logs - #6693
24.0.50; font-lock-(builtin|doc) faces are *way* too close

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Wed, 21 Jul 2010 17:33:02 UTC

Severity: minor

Found in version 24.0.50

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 6693 <at> debbugs.gnu.org
Subject: bug#6693: 24.0.50; font-lock-(builtin|doc) faces are *way* too close
Date: Sun, 03 Jul 2011 15:06:55 +0200
"Drew Adams" <drew.adams <at> oracle.com> writes:

> Look at any `defcustom'.  The doc string and the keywords (e.g. :type)
> appear to have the same face.  In fact, they are only very slightly
> different.
>
> This is a regression wrt 23.1 (and prior).  Please revert this mistake.
> There is no reason for these two faces to be so close.
>
> Previously, `font-lock-builtin-face' had an Orchid foreground.  That was
> *much* better than having two faces that are essentially
> indistinguishable.

This is the definition of `font-lock-builtin-face'.  Which of these
cases is causing the confusion for you?

(defface font-lock-builtin-face
  '((((class grayscale) (background light)) (:foreground "LightGray" :weight bold))
    (((class grayscale) (background dark)) (:foreground "DimGray" :weight bold))
    (((class color) (min-colors 88) (background light)) (:foreground "MediumOrchid4"))
    (((class color) (min-colors 88) (background dark)) (:foreground "LightSteelBlue"))
    (((class color) (min-colors 16) (background light)) (:foreground "Orchid"))
    (((class color) (min-colors 16) (background dark)) (:foreground "LightSteelBlue"))
    (((class color) (min-colors 8)) (:foreground "blue" :weight bold))
    (t (:weight bold)))


-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




This bug report was last modified 13 years and 326 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.