GNU bug report logs - #3805
23.1.50; Strange cursor movement in truncation mode

Previous Next

Package: emacs;

Reported by: kees <at> altium.nl (Kees Bakker)

Date: Fri, 10 Jul 2009 09:30:03 UTC

Severity: normal

Tags: fixed

Merged with 3494

Fixed in version 24.1

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 3805 in the body.
You can then email your comments to 3805 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3805; Package emacs. (Fri, 10 Jul 2009 09:30:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to kees <at> altium.nl (Kees Bakker):
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Fri, 10 Jul 2009 09:30:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: kees <at> altium.nl (Kees Bakker)
To: emacs-pretest-bug <at> gnu.org
Subject: 23.1.50; Strange cursor movement in truncation mode
Date: Fri, 10 Jul 2009 11:23:28 +0200 (CEST)
Here is an example file to reproduce the bug.

123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789

Resize your screen to 50 characters wide, and do a toggle-truncate-lines.
Emacs23-gtk will show arrows on the right (and left) for the part of the
lines that is not visible.

Move the cursor to the end of the first line. Then move down, up and
down. And again up, down, up, down. You'll see that the cursor does not
go the same position in the second each time.

Second experiment.
Move cursor further down to the line after these three long lines, and
then move up again. And repeat that a few times, and you'll see that the
cursor is not coming back to the same position each time.



In GNU Emacs 23.1.50.1 (i486-pc-linux-gnu, GTK+ Version 2.12.12)
 of 2009-06-29 on koli, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.10402000
configured using `configure  '--build=i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1.50/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1.50/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS=''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: POSIX
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.utf8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x t o g g <tab> t r <tab> <return> <up> <up> <down> 
<down> <right> <up> <up> <up> <left> <down> <down> 
<right> <right> <right> <left> <left> <down> <down> 
<down> <down> <up> <up> <up> <up> <up> <up> <up> <up> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <down> <down> <down> <up> <up> 
<up> <up> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down-mouse-1> 
<mouse-1> <end> <left> <left> <left> <left> <left> 
<left> <left> <left> <left> <left> <down> <right> <right> 
<right> <right> <right> <right> <right> <down> <down> 
<up> <up> <right> <right> <right> <down> <down> <down> 
<up> <up> <up> <up> <up> <up> <up> <up> <down-mouse-1> 
<mouse-1> <f10> C-g C-g C-g C-g C-g <help-echo> <help-echo> 
C-x k <return> C-x C-f / t m p / t r <tab> <return> 
<down> C-e <down> <down> <down> <up> <up> <up> <up> 
<down> <down> <down> <down> <down> <up> <up> <up> <up> 
<up> <C-right> <C-right> <C-right> <C-right> <C-right> 
<C-right> <C-right> <C-right> <C-right> <C-right> <C-right> 
<C-right> <down> <down> <down> <down> <down> <up> <up> 
<up> <up> <up> <up> M-x <up> <return> <down> <down> 
<down> <down> <left> <up> <up> <up> <down> <down> <down> 
<down> <up> <up> <up> C-e <down> C-e <up> <up> <down> 
<down> <down> <down> <up> <up> <down> <up> <down> <up> 
<down> <up> <down> <up> <down> <up> <down> <up> <down> 
<up> <down> <up> <up> <down> <down> <up> <up> <down> 
<down> <up> <down> <up> <down> <up> <down> <up> <down> 
<up> <up> <down> <up> <down> <up> <down> <up> <down> 
<up> <down> <up> <down> <up> <down> <up> <up> <up> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <menu-bar> 
<help-menu> <send-emacs-bug-report>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Truncate long lines enabled
Quit [5 times]
Truncate long lines enabled



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3805; Package emacs. (Sat, 11 Jul 2009 07:10:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Teemu Likonen <tlikonen <at> iki.fi>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sat, 11 Jul 2009 07:10:05 GMT) Full text and rfc822 format available.

Message #10 received at 3805 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Teemu Likonen <tlikonen <at> iki.fi>
To: Kees Bakker <kees <at> altium.nl>
Cc: 3805 <at> debbugs.gnu.org
Subject: Re: bug#3805: 23.1.50; Strange cursor movement in truncation mode
Date: Sat, 11 Jul 2009 10:07:52 +0300
On 2009-07-10 11:23 (+0200), Kees Bakker wrote:

> Here is an example file to reproduce the bug.

> Resize your screen to 50 characters wide, and do a toggle-truncate-lines.
> Emacs23-gtk will show arrows on the right (and left) for the part of the
> lines that is not visible.
>
> Move the cursor to the end of the first line. Then move down, up and
> down. And again up, down, up, down. You'll see that the cursor does not
> go the same position in the second each time.
>
> Second experiment.
> Move cursor further down to the line after these three long lines, and
> then move up again. And repeat that a few times, and you'll see that the
> cursor is not coming back to the same position each time.

This bug affects only when line-move-visual=t. But yes, I can reproduce
it with 23.0.96. This is related bug:

    "next-line and previous-line don't keep the column in text-scale-mode"
    http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3668

I can see now that line-move-visual=t is the cause there too.



Merged 3494 3805. Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> emacsbugs.donarmstrong.com. (Sat, 11 Jul 2009 15:45:06 GMT) Full text and rfc822 format available.

Added tag(s) fixed. Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 17 Sep 2011 06:10:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 24.1, send any further explanations to 3494 <at> debbugs.gnu.org and bojohan+mail <at> dd.chalmers.se (Johan Bockgård) Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 17 Sep 2011 06:10:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 15 Oct 2011 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 248 days ago.

Previous Next


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