emacs-devel
[Top][All Lists]
Advanced

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

Re: how to prevent font-lock from messing with a portion of text?


From: Stefan Monnier
Subject: Re: how to prevent font-lock from messing with a portion of text?
Date: Sat, 24 Mar 2007 00:20:24 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux)

> It's a joke, right? Why don't you make font-lock use such a property
> itself, all the time?  Make it independent of `face' altogether.

Sorry, I thought you were asking for some help.

>> - add a font-lock-fontify-region-function so that after fontifying
>> the region normally, you scan the region for `persistent-face'
>> properties and copy those to the `face' property.

> Right (ridiculous).

If you don't like it, change it.  It's Free Software.

> I would myself, if FSF could accept it without employer papers.

I'm sure you could get papers from your employer if you spent enough time
pestering them.

> I can't believe it would be hard for font-lock to check if text it
> wants to work with has an ignore-me property.

Nobody asks you to believe it would be hard.


        Stefan




reply via email to

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