emacs-devel
[Top][All Lists]
Advanced

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

Re: font-lock-warning-face


From: Miles Bader
Subject: Re: font-lock-warning-face
Date: Wed, 22 Feb 2006 12:35:17 +0900

Nick Roberts <address@hidden> writes:
> > > Would it be a good idea to create a new face (and from which
> > > font-lock-warning-face could inherit) called `warning', say, and
> > > put it in faces.el so that font-lock doesn't have to be loaded?
>
>  > 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?
>
> 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.

So how about a name like "emphasis" instead of warning?

Or alternatively, add _both_ "emphasis" and "warning", and by default
have warning inherit from emphasis (the idea being that users could make
"warning" more obnoxious if they wanted to, while "emphasis" would
continue to be more acceptable for normal usage).

-Miles
-- 
"Though they may have different meanings, the cries of 'Yeeeee-haw!' and
 'Allahu akbar!' are, in spirit, not actually all that different."




reply via email to

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