emacs-devel
[Top][All Lists]
Advanced

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

Re: font-lock-warning-face


From: Juri Linkov
Subject: Re: font-lock-warning-face
Date: Fri, 24 Feb 2006 02:27:38 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

>  > Maybe, but we would need to think about this somewhat more before
>  > doing it.  What other uses would we want this to be used for?
>
> Well I don't know how many you want, but additionally:
>
> 1) The face dired-marked inherits from it.
> 2) The face ido-incomplete-regexp inherits from it.
> 3) The face iswitchb-invalid-regexp inherits from it.
> 4) The face cvs-fi-conflict-face is an alias for it.
> 5) The face compilation-error inherits from it.

dired-marked is font-lock based face (used in `dired-font-lock-keywords').
compilation-error is indirectly font-lock based face as well (used via
`compilation-mode-font-lock-keywords').  So I think for these faces it is
appropriate to inherit from font-lock-warning-face.  Other faces have
nothing to do with font-lock-warning-face, so inheriting from a new face
`warning' would be good for easy customization.

-- 
Juri Linkov
http://www.jurta.org/emacs/





reply via email to

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