[Top][All Lists]

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

bug#6671: moving point and scroll-conservatively

From: Eli Zaretskii
Subject: bug#6671: moving point and scroll-conservatively
Date: Sat, 26 Mar 2011 14:32:47 +0200

> From: Chong Yidong <address@hidden>
> Date: Wed, 23 Mar 2011 23:58:27 -0400
> Cc: address@hidden
> The precise mechanism by which the fontification functions screw things
> up is by narrowing the buffer.  This is why, in last year's thread, the
> buffer's clip_changed flag was found to be set.  That forces recentering
> in redisplay_window (xdisp.c:14159).
> So, a good fix might be to check whether redisplay-time fontification
> changes the buffer's restrictions, and, if so, reset the clip_changed
> flag.  That should make the 100619/100620 changes unnecessary.

As result of that last year's thread (which, to recap, started with
I looked closer at the clip_changed flag, and discussed my findings
with Gerd Möllmann.  Our conclusion was that it shouldn't be necessary
to test this flag when deciding whether try_scrolling can be called.
So I now committed a change to that effect (revno 103756 on the
trunk); please see if recentering as result of fontification functions
is now avoided.

This does not yet constitute resolution of this bug, I'm still working
on that.  Stay tuned.

reply via email to

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