Subject: Re: bug#15973: 24.3.50; Cursor switching brutally several lines at a time with next/previous-line

From: Eli Zaretskii <[email-masked]>
Date: Tue, 26 Nov 2013 19:03:29 +0200

> From: Thierry Volpiatto <[email-masked]>
> Cc: [email-masked]
> Date: Tue, 26 Nov 2013 09:27:48 +0100
> 
> In a emacs repo handled by git:
> 
> 1) Apply a stash or make some changes.(I use here cl-macs.el)

Does it have to be the Emacs repo, or does it happen even with a small
repo with a single file in it?

Also, does it matter in which part of the file you make changes?

> 2) make some more changes, save buffer twice or more.

Why twice or more?  Or do you mean make changes, save, make some more
changes (in a different place?), then save again?

> 3) C-x v u (revert changes)
> 
> Now in the zone where the changes was, cursor is jumping several lines
> when doing C-n/p.
> 
> Indeed, if I set cache-long-scans to nil, and reproduce exactly the same recipe,
> the bug is not happening.

Thanks.