[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Standard faces not working with font-lock-keywords
From: |
Miles Bader |
Subject: |
Re: Standard faces not working with font-lock-keywords |
Date: |
Mon, 28 Mar 2005 18:33:39 +0900 |
On Mon, 28 Mar 2005 11:09:16 +0200, Ralf Angeli <address@hidden> wrote:
> > No, it's just an expression -- for the standard font-lock faces there
> > are variable names that are _exactly_ the same as the face names,
> > which evaluate to the corresponding face name.
>
> Yes, that was what I was referring to. But as only the font-lock
> faces and not the standard faces provide these variables, wouldn't it
> make sense to encourage the use of expressions and deprecate the use
> of symbols?
??
The "symbols" are expressions. Do you mean "encourage the use of
quoted face names instead of using the corresponding variable?"
I think that makes sense.
> AUCTeX is using both a defface and a defvar for defining its faces as
> well. But if only expressions are used in `font-lock-keywords', I can
> get rid of the defvars.
I'd say it's silly to keep around both.
-Miles
--
Do not taunt Happy Fun Ball.
- Standard faces not working with font-lock-keywords, Ralf Angeli, 2005/03/27
- Re: Standard faces not working with font-lock-keywords, Stefan Monnier, 2005/03/27
- Re: Standard faces not working with font-lock-keywords, Stefan Monnier, 2005/03/28
- Re: Standard faces not working with font-lock-keywords, Miles Bader, 2005/03/28
- Re: Standard faces not working with font-lock-keywords, Stefan Monnier, 2005/03/28
- Re: Standard faces not working with font-lock-keywords, Kim F. Storm, 2005/03/28
- Re: Standard faces not working with font-lock-keywords, Miles Bader, 2005/03/28