[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Face specifications in font-lock-keywords.
From: |
Kim F. Storm |
Subject: |
Re: Face specifications in font-lock-keywords. |
Date: |
Wed, 06 Apr 2005 15:59:03 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
>> (I'm updating the node Search-based Fontification in the lisp manual.)
>> The lisp manual says that a FACESPEC can be a list of the form
>
>> (face FACE PROP1 VAL1 PROP2 VAL2...)
>
>> whereas the docstring of font-lock-keywords says that this can be a
>> list of the form:
>
>> (face VAL1 PROP2 VAL2 PROP3 VAL3 ...)
>
>> The latter is obviously wrong. But is the former correct?
>
> To me both are equivalent and correct. What's the problem exactly?
> Regarding the discrepancy, I'd suggest we use the first form since it's
> a bit more explicit.
IMO, both of these are hard to understand at first sight.
I think (face FACE [PROP VAL]...) would be clearer.
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Face specifications in font-lock-keywords., Lute Kamstra, 2005/04/06
- Re: Face specifications in font-lock-keywords., Stefan Monnier, 2005/04/06
- Re: Face specifications in font-lock-keywords.,
Kim F. Storm <=
- Re: Face specifications in font-lock-keywords., Ralf Angeli, 2005/04/06
- Re: Face specifications in font-lock-keywords., Stefan Monnier, 2005/04/06
- Re: Face specifications in font-lock-keywords., Ralf Angeli, 2005/04/06
- Re: Face specifications in font-lock-keywords., Stefan Monnier, 2005/04/06
- Re: Face specifications in font-lock-keywords., Ralf Angeli, 2005/04/07
- Re: Face specifications in font-lock-keywords., Stefan Monnier, 2005/04/07
- Re: Face specifications in font-lock-keywords., Lute Kamstra, 2005/04/06