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

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

Re: Standard faces not working with font-lock-keywords


From: Stefan Monnier
Subject: Re: Standard faces not working with font-lock-keywords
Date: Mon, 28 Mar 2005 09:55:19 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin)

> 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.

> [I think this is silly and confusing, but font-lock is verrrrry old...]

But as you know, this has proved useful for various users who wanted
different font-lock-*-face in different modes: if the keywords were using
quoted symbols, that would have required buffer-local faces (which we still
don't have: any progress on this side?), whereas the use of the
indirection through variables made it possible.


        Stefan




reply via email to

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