[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: |
Ralf Angeli |
Subject: |
Re: Excessive refontification when setting jit-lock-context-unfontify-pos |
Date: |
Wed, 25 Apr 2007 08:34:16 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.96 (gnu/linux) |
* Stefan Monnier (2007-04-25) writes:
>> j-l-c-u-p seemed to be the only mechanism working reliably. In my
>> f-l-fontify-region-function I tried to set the f-l-multiline and
>> j-l-defer-multiline properties on the region in question which had no
>> effect.
>
> In your f-l-fontify-region-function, you should do what you'd otherwise do
> in f-l-extend-region: i.e. extend the region. No messing with
> font-lock-multiline or other properties. Just computing a new (larger)
> region and passing that to f-l-default-fontify-region.
That's what I do. (See `font-latex-fontify-region'.) But the
multiline construct does not get fully highlighted if I don't set
j-l-c-u-p or set the fontified property to nil.
> If it doesn't work, please give more details, including a sample session
> where it fails and an explanation of how it fails.
In AUCTeX's LaTeX mode ``text in quotes'' will get highlighted. If I
start a quote, move a page downwards and insert the ending quotation
marks, only part of the text in quotes will get the appropriate face
if j-l-c-u-p is not set.
I'll try to come up with a testcase demontrating this in a
programmatic way on Friday.
--
Ralf
- Excessive refontification when setting jit-lock-context-unfontify-pos, Ralf Angeli, 2007/04/23
- Re: Excessive refontification when setting jit-lock-context-unfontify-pos, Stefan Monnier, 2007/04/24
- Re: Excessive refontification when setting jit-lock-context-unfontify-pos, Ralf Angeli, 2007/04/24
- Re: Excessive refontification when setting jit-lock-context-unfontify-pos, Stefan Monnier, 2007/04/24
- Re: Excessive refontification when setting jit-lock-context-unfontify-pos, Ralf Angeli, 2007/04/24
- Re: Excessive refontification when setting jit-lock-context-unfontify-pos, Stefan Monnier, 2007/04/25
- Re: Excessive refontification when setting jit-lock-context-unfontify-pos,
Ralf Angeli <=
- Re: Excessive refontification when setting jit-lock-context-unfontify-pos, Stefan Monnier, 2007/04/25
- Re: Excessive refontification when setting jit-lock-context-unfontify-pos, Ralf Angeli, 2007/04/27
- Re: Excessive refontification when setting jit-lock-context-unfontify-pos, Stefan Monnier, 2007/04/27
- Re: Excessive refontification when setting jit-lock-context-unfontify-pos, Ralf Angeli, 2007/04/27
- Re: Excessive refontification when setting jit-lock-context-unfontify-pos, Ralf Angeli, 2007/04/28
- Re: Excessive refontification when setting jit-lock-context-unfontify-pos, Stefan Monnier, 2007/04/29
- Re: Excessive refontification when setting jit-lock-context-unfontify-pos, Ralf Angeli, 2007/04/30
- Re: Excessive refontification when setting jit-lock-context-unfontify-pos, martin rudalics, 2007/04/25
- Re: Excessive refontification when setting jit-lock-context-unfontify-pos, Ralf Angeli, 2007/04/27
- Re: Excessive refontification when setting jit-lock-context-unfontify-pos, martin rudalics, 2007/04/25