help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How to prevent font-lock (& jit-lock etc.) from refontifying?


From: Oliver Scholz
Subject: Re: How to prevent font-lock (& jit-lock etc.) from refontifying?
Date: Wed, 13 Oct 2004 20:32:24 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (windows-nt)

"Drew Adams" <drew.adams@oracle.com> writes:

> Thanks for your replies. Does anyone know if it is true that font-lock
> provides no way to prevent it from refontifying in the way I described? I'm
> thinking there must be a (simple) way that I'm ignorant of. I can't believe
> that they (we) would change font-lock in a way that lets it impose itself so
> completely.

Well, the idea (for the kind of buffers that use font-lock) is that
you either enhance font-lock to add your faces or that you use
overlays.

That said, CVS Emacs provides the text property `font-lock-face' which
you can use together with font-lock.  `font-lock-keywords' has a
higher priority, though. (Maybe that should be different?)

    Oliver
-- 
22 Vendémiaire an 213 de la Révolution
Liberté, Egalité, Fraternité!


reply via email to

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