Subject: bug#13108: 24.3.50; previous-line sometimes moves up two lines instead of just one

From: Alp Aker <[email-masked]>
Date: Fri, 7 Dec 2012 02:32:24 -0500

> Repro recipe:
>
> gmacs -Q
> M-x linum-mode RET  (in the *Scratch* buffer)
> ctrl-p (moves up one line; yay)
> ctrl-p (moves up two lines; boo!)

It seems to be due to the below commit.

revno: 110764.1.170
fixes bug: http://debbugs.gnu.org/12930
committer: Eli Zaretskii <[email-masked]>
branch nick: emacs-24
timestamp: Wed 2012-11-21 21:28:14 +0200
message:
  Fix bug #12930 with vertical-motion through a display string.

   src/indent.c (Fvertical_motion): If the starting position is covered
   by a display string, return to one position before that, to avoid
   overshooting it inside move_it_to.