[Top][All Lists]

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

bug#6671: moving point and scroll-conservatively

From: Chong Yidong
Subject: bug#6671: moving point and scroll-conservatively
Date: Thu, 24 Mar 2011 11:14:25 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> That should make the 100619/100620 changes unnecessary.
> Please don't revert these changes.  They took a lot of effort to
> arrive at, and generally DTRT in a way that is easy to understand and
> maintain.
> The problem with performance for large moves of point is IMO
> straightforward to fix: when point is "far away" (which could be set
> back to those proverbial 10 screen lines), then, instead of moving one
> line at a time, move to point in one go, and then compute the window
> start so that point is at the proper place relative to window start.

These change you propose would also necessitate reverting 100619/100620.
Anytime the iterator is forced to traverse thousands (or in this case
tens of thousands) of lines, that's clearly the wrong thing.

reply via email to

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