[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C-n is very slow in Font-Lock mode
From: |
David Kastrup |
Subject: |
Re: C-n is very slow in Font-Lock mode |
Date: |
Tue, 26 Apr 2005 23:38:11 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
"Eli Zaretskii" <address@hidden> writes:
>> From: Richard Stallman <address@hidden>
>> CC: address@hidden
>> Date: Tue, 26 Apr 2005 06:05:41 -0400
>>
>> > It turns out that vertical-motion was fontifying all the text that
>> > it moved over. That seems to be easy to fix.
>>
>> Did you try my suggestion of customizing jit-lock-defer-time?
>>
>> No, because I want to fix this, not work around it. vertical-motion
>> is a cursor motion function. It should not fontify anything.
>
> As David pointed out, vertical-motion does that for a good reason:
> fontification can well change the pixel size of the glyphs that Emacs
> needs to display.
>
> I think jit-lock-defer-time _is_ the way to avoid the slowness if
> you are willing to see the text unfontified for a fraction of a
> second.
I think that a separate value of 0 where is one not willing to see
text unfontified, but willing to have motion calculated with a still
unfontified text, would make perfect sense.
It might be that jit-lock-defer-time already happens to work this
way. If not, it probably should, and 0 instead of nil should be the
default value.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- Re: C-n is very slow in Font-Lock mode, (continued)
- Re: C-n is very slow in Font-Lock mode, Eli Zaretskii, 2005/04/24
- Re: C-n is very slow in Font-Lock mode, Richard Stallman, 2005/04/26
- Re: C-n is very slow in Font-Lock mode, David Kastrup, 2005/04/26
- Re: C-n is very slow in Font-Lock mode, Richard Stallman, 2005/04/26
- Re: C-n is very slow in Font-Lock mode, Kim F. Storm, 2005/04/27
- Re: C-n is very slow in Font-Lock mode, Eli Zaretskii, 2005/04/27
- Re: C-n is very slow in Font-Lock mode, Kim F. Storm, 2005/04/27
- Re: C-n is very slow in Font-Lock mode, Eli Zaretskii, 2005/04/27
- Re: C-n is very slow in Font-Lock mode, Richard Stallman, 2005/04/28
- Re: C-n is very slow in Font-Lock mode, Eli Zaretskii, 2005/04/26
- Re: C-n is very slow in Font-Lock mode,
David Kastrup <=
- Re: C-n is very slow in Font-Lock mode, Eli Zaretskii, 2005/04/26
- Re: C-n is very slow in Font-Lock mode, David Kastrup, 2005/04/26
- Re: C-n is very slow in Font-Lock mode, Eli Zaretskii, 2005/04/27
- Re: C-n is very slow in Font-Lock mode, David Kastrup, 2005/04/27
- Re: C-n is very slow in Font-Lock mode, Eli Zaretskii, 2005/04/27
- Re: C-n is very slow in Font-Lock mode, David Kastrup, 2005/04/27
- Re: C-n is very slow in Font-Lock mode, Eli Zaretskii, 2005/04/27
- Re: C-n is very slow in Font-Lock mode, Kim F. Storm, 2005/04/27
- Re: C-n is very slow in Font-Lock mode, Richard Stallman, 2005/04/28
- Re: C-n is very slow in Font-Lock mode, David Kastrup, 2005/04/28