GNU bug report logs - #13108
24.3.50; previous-line sometimes moves up two lines instead of just one

Previous Next

Package: emacs;

Reported by: Ami Fischman <ami <at> fischman.org>

Date: Thu, 6 Dec 2012 23:10:01 UTC

Severity: normal

Merged with 13111

Found in version 24.3.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Alp Aker <alptekin.aker <at> gmail.com>
To: Ami Fischman <ami <at> fischman.org>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 13108 <at> debbugs.gnu.org
Subject: bug#13108: 24.3.50; previous-line sometimes moves up two lines instead of just one
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 <eliz <at> gnu.org>
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.




This bug report was last modified 12 years and 169 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.