GNU bug report logs - #8155
23.2; erratic cursor movement with visual-line-mode and wrap-prefix property

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Nicolas Goaziou <n.goaziou@HIDDEN>; dated Wed, 2 Mar 2011 17:16:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 2 Mar 2011 17:16:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 02 12:16:01 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1PupeZ-0005DR-TD
	for submit <at> debbugs.gnu.org; Wed, 02 Mar 2011 12:16:00 -0500
Received: from eggs.gnu.org ([140.186.70.92])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <n.goaziou@HIDDEN>) id 1PuoBn-000393-Rn
	for submit <at> debbugs.gnu.org; Wed, 02 Mar 2011 10:42:13 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <n.goaziou@HIDDEN>) id 1PuoBh-0008QB-NT
	for submit <at> debbugs.gnu.org; Wed, 02 Mar 2011 10:42:06 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_DNSWL_LOW, T_DKIM_INVALID,
	T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1
Received: from lists.gnu.org ([199.232.76.165]:34670)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <n.goaziou@HIDDEN>) id 1PuoBh-0008Q4-Jj
	for submit <at> debbugs.gnu.org; Wed, 02 Mar 2011 10:42:05 -0500
Received: from [140.186.70.92] (port=54069 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1PuoBf-00076g-TO
	for bug-gnu-emacs@HIDDEN; Wed, 02 Mar 2011 10:42:05 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <n.goaziou@HIDDEN>) id 1PuoBb-0008Ox-Vf
	for bug-gnu-emacs@HIDDEN; Wed, 02 Mar 2011 10:42:03 -0500
Received: from mail-fx0-f41.google.com ([209.85.161.41]:45005)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <n.goaziou@HIDDEN>) id 1PuoBb-0008Og-Kl
	for bug-gnu-emacs@HIDDEN; Wed, 02 Mar 2011 10:41:59 -0500
Received: by fxm5 with SMTP id 5so126196fxm.0
	for <bug-gnu-emacs@HIDDEN>; Wed, 02 Mar 2011 07:41:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:from:to:subject:date:message-id:mime-version
	:content-type; bh=IWJIiXjDFu2GjzTwRUcHl2DLcnfGV7yDoIXtHy0M6+Y=;
	b=YHxWVMy9OhMuwP8Dx2gkWzb/o1220fTWFvHAP/OzQbmJR7AlWVdk7SGkqP9Snrm2yj
	1PPVB9iFHhEGVOYoLYaoRkiDKz47kDSZrnLWq9inrRO5I+6zAAMpygwaTA1PMK8cBMka
	cWvLu369S+yBS6jwiy+2LeI6CNpXmgFRraaYo=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=from:to:subject:date:message-id:mime-version:content-type;
	b=Mx11laxm/8faz00WWfUy4UYczyv39cJuXuNwoTuaznrUP23h8tG/tl5DfMqhjx5k2K
	3O4O8nqQjTuOwrEI2d2pBRYswKp08FfWTxE/bxxqqc63Q4tEaIEy4HHHuyWkuuvrJHfU
	W/yfvRSProCxr6kaf3bJ8+btqM4iJAJFjMyAQ=
Received: by 10.223.101.136 with SMTP id c8mr9623fao.100.1299080500876;
	Wed, 02 Mar 2011 07:41:40 -0800 (PST)
Received: from selenimh (23.29.86-79.rev.gaoland.net [79.86.29.23])
	by mx.google.com with ESMTPS id 5sm35815fak.47.2011.03.02.07.41.40
	(version=TLSv1/SSLv3 cipher=OTHER);
	Wed, 02 Mar 2011 07:41:40 -0800 (PST)
From: Nicolas Goaziou <n.goaziou@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 23.2; erratic cursor movement with visual-line-mode and wrap-prefix
	property
Date: Wed, 02 Mar 2011 16:41:40 +0100
Message-ID: <877hchfs23.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 199.232.76.165
X-Spam-Score: -5.9 (-----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Wed, 02 Mar 2011 12:15:58 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -5.9 (-----)

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@HIDDEN mailing list,
and to the gnu.emacs.bug news group.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug.  If you can, give
a recipe starting from `emacs -Q':

From `emacs -Q', C-x b whatever to open a new buffer. Then M-x
visual-line-mode. Now fill a bit more than a screenfull of text without
inserting a newline. Eventually use (put-text-property 1 (point-max)
'wrap-prefix "   ").

Now, going from (point-min), use C-n to move down. Near the end of that
huge paragraph, C-n will not keep a constant column. In the same area,
C-e and C-a will change line. C-p will go through the same path as C-n,
thus not keeping the first column as well.

Under certain conditions that I have yet to find (but related to that
property and visual-line-mode), `next-line', when reaching the last line
of the window, will put point back in the middle of the screen while
keeping the same buffer portion visible (so it's a loopback, as the next
part of the buffer is never shown). When it happens, the cursor is stuck
forever in that loop if the user keep moving with `next-line'. This
doesn't happen with C-p, and C-v can get out of the loop.

In GNU Emacs 23.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.0)
 of 2010-05-08 on pidsley.hoetzel.info
Windowing system distributor `The X.Org Foundation', version 11.0.10904000
configured using `configure  '--prefix=/usr' '--sysconfdir=/etc' '--libexecdir=/usr/lib' '--localstatedir=/var' '--mandir=/usr/share/man' '--without-sound' '-with-x-toolkit=gtk' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-optimize-sibling-calls' 'LDFLAGS=-Wl,--hash-style=gnu -Wl,--as-needed''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  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: fr_FR.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
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  blink-cursor-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  visual-line-mode: t
  transient-mark-mode: t

Recent input:
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p C-p C-p 
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p 
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p 
C-p C-p C-p C-p C-p C-p C-p C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p 
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p 
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-p C-p C-p C-p C-p C-p 
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p 
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p 
C-p C-p C-p C-p M-t <f1> f C-g <f1> c C-n <f1> c C-n 
M-t M-x r e p o r t - e m <tab> <return>

Recent messages:
Visual-Line mode enabled
Mark set [6 times]
Scanning for dabbrevs...100%
dabbrev-expand: No dynamic expansion for `put-text-pro' found
Scanning for dabbrevs...100%
dabbrev-expand: No dynamic expansion for `put-text-proper' found
call-interactively: End of buffer
nil
Quit
C-n runs the command next-line
C-n runs the command next-line

Load-path shadows:
None found.

Features:
(shadow sort mail-extr message sendmail regexp-opt ecomplete rfc822 mml
easymenu mml-sec password-cache mm-decode mm-bodies mm-encode mailcap
mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader
gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit
mailheader canlock sha1 hex-util hashcash mail-utils emacsbug help-fns
dabbrev tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd
font-setting tool-bar dnd fontset image fringe lisp-mode register page
menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button
minibuffer faces cus-face files text-properties overlay md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process dbusbind system-font-setting
font-render-setting gtk x-toolkit x multi-tty emacs)

-- 
Nicolas Goaziou




Acknowledgement sent to Nicolas Goaziou <n.goaziou@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:
bug#8155; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

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