[Top][All Lists]

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

Re: Excessive refontification when setting jit-lock-context-unfontify-po

From: Stefan Monnier
Subject: Re: Excessive refontification when setting jit-lock-context-unfontify-pos
Date: Tue, 24 Apr 2007 10:18:58 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.94 (gnu/linux)

> in AUCTeX I am extending the region to be fontified by
> `font-lock-default-fontify-region' backwards in order to cater for large
> multiline constructs.

I presume you don't use the font-lock-extend-region stuff because you need
it to work with Emacs<22, right?

> In order to force refontification with jit-lock,
> `jit-lock-context-unfontify-pos' is set to the start of such
> a multiline construct.

Huh?  In which circumstance do you see a need for such a setting?

Hmm...wait... my crystal ball here tells me that you forgot to set the
font-lock-multiline property from your font-lock-keywords.  is that right?
Please read the discussion about multiline and font-lock in the latest Emacs
manual (it's been significantly improved, so it should help, and if doesn't
help enough, then we should improve it more).


reply via email to

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