emacs-devel
[Top][All Lists]
Advanced

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

Re: Recenter video


From: Eli Zaretskii
Subject: Re: Recenter video
Date: Wed, 23 Jun 2010 18:18:34 +0300

> From: Lennart Borgman <address@hidden>
> Date: Wed, 23 Jun 2010 11:44:33 +0200
> Cc: address@hidden, address@hidden
> 
> > If you still don't use the latest changes on the trunk, it's a small
> > wonder that you see recentering inside try_scrolling.
> 
> 
> What do you mean? What do you not expect to happen?

I expect no more recentering when try_scrolling is called.

> > The problem is that your changes are incorrect: they violate the
> > redisplay protocol that doesn't allow using the current glyph matrix
> > if the last redisplay cycle was paused (a.k.a. interrupted) because
> > more input arrived.  The window_end_valid flag being nil means that
> > the redisplay was not finished, and in that case we cannot use the
> > try_scrolling method.
> 
> 
> I can't see that this happens because of my change. The test for
> window_end_valid flag is still there with my patch. The only thing I
> have changed is when clip_changed is set because of changes in
> clipping. Everything else remains the same.

Doesn't your patch cause try_scrolling to be called?  If so, that's a
no-no when the window_end_valid flag is nil.




reply via email to

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