unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: kees@altium.nl (Kees Bakker)
To: emacs-pretest-bug@gnu.org
Subject: bug#3805: 23.1.50; Strange cursor movement in truncation mode
Date: Fri, 10 Jul 2009 11:23:28 +0200 (CEST)	[thread overview]
Message-ID: <20090710092328.1D6914033D@koli.tasking.nl> (raw)


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





             reply	other threads:[~2009-07-10  9:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-10  9:23 Kees Bakker [this message]
2011-09-17  6:01 ` bug#3494: 23.1.50; Strange cursor movement in truncation mode Lars Magne Ingebrigtsen
     [not found] <mailman.2263.1247291027.2239.bug-gnu-emacs@gnu.org>
2009-07-11  7:07 ` bug#3805: " Teemu Likonen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090710092328.1D6914033D@koli.tasking.nl \
    --to=kees@altium.nl \
    --cc=3805@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).