[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Copying preserves font-lock-face
From: |
Miles Bader |
Subject: |
Re: Copying preserves font-lock-face |
Date: |
Mon, 25 Sep 2006 11:22:15 +0900 |
martin rudalics <address@hidden> writes:
> > Yes but face and font-lock-face are different character properties and I'm
> > talking about the latter.
>
> I don't understand where you get a `font-lock-face' (sic) property from
> but you can add it to `font-lock-extra-managed-props'.
Font-lock-mode arranges for `font-lock-face' properties to be
interpreted as `face' properties (using `char-property-alias-alist').
This allows a mode to _directly_ add face properties in a font-locked
buffer, and these face properties are safe from being overwritten by
font-lock-mode. This to support modes which really want to do their own
ad-hoc facification (:-), while still allowing the user to turn face
display on or off using `M-x font-lock-mode' (etc).
-Miles
--
I'm beginning to think that life is just one long Yoko Ono album; no rhyme
or reason, just a lot of incoherent shrieks and then it's over. --Ian Wolff
- Copying preserves font-lock-face, Nick Roberts, 2006/09/22
- Re: Copying preserves font-lock-face, martin rudalics, 2006/09/23
- Re: Copying preserves font-lock-face, Nick Roberts, 2006/09/24
- Re: Copying preserves font-lock-face, martin rudalics, 2006/09/24
- Re: Copying preserves font-lock-face, Nick Roberts, 2006/09/24
- Re: Copying preserves font-lock-face,
Miles Bader <=
- Re: Copying preserves font-lock-face, Richard Stallman, 2006/09/24
- Re: Copying preserves font-lock-face, Chong Yidong, 2006/09/25
- Re: Copying preserves font-lock-face, Richard Stallman, 2006/09/26
- Re: Copying preserves font-lock-face, Stefan Monnier, 2006/09/26
- Re: Copying preserves font-lock-face, Richard Stallman, 2006/09/26
Re: Copying preserves font-lock-face, Richard Stallman, 2006/09/23