From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nicolas Goaziou Newsgroups: gmane.emacs.bugs Subject: bug#8155: 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@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1299087789 15065 80.91.229.12 (2 Mar 2011 17:43:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 2 Mar 2011 17:43:09 +0000 (UTC) To: 8155@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 02 18:43:02 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Puq4i-0005gR-4f for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Mar 2011 18:43:00 +0100 Original-Received: from localhost ([127.0.0.1]:48901 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Puq4h-0007Hv-Cq for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Mar 2011 12:42:59 -0500 Original-Received: from [140.186.70.92] (port=40303 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pupyt-0001Kx-Vx for bug-gnu-emacs@gnu.org; Wed, 02 Mar 2011 12:37:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pupys-00025M-2x for bug-gnu-emacs@gnu.org; Wed, 02 Mar 2011 12:36:59 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41606) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pupys-00025H-0H for bug-gnu-emacs@gnu.org; Wed, 02 Mar 2011 12:36:58 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Pupec-0005Dj-Ss; Wed, 02 Mar 2011 12:16:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Nicolas Goaziou Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 Mar 2011 17:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 8155 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.129908616120056 (code B ref -1); Wed, 02 Mar 2011 17:16:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Mar 2011 17:16:01 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PupeZ-0005DR-TD for submit@debbugs.gnu.org; Wed, 02 Mar 2011 12:16:00 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PuoBn-000393-Rn for submit@debbugs.gnu.org; Wed, 02 Mar 2011 10:42:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PuoBh-0008QB-NT for submit@debbugs.gnu.org; Wed, 02 Mar 2011 10:42:06 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:34670) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PuoBh-0008Q4-Jj for submit@debbugs.gnu.org; Wed, 02 Mar 2011 10:42:05 -0500 Original-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@gnu.org; Wed, 02 Mar 2011 10:42:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PuoBb-0008Ox-Vf for bug-gnu-emacs@gnu.org; Wed, 02 Mar 2011 10:42:03 -0500 Original-Received: from mail-fx0-f41.google.com ([209.85.161.41]:45005) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PuoBb-0008Og-Kl for bug-gnu-emacs@gnu.org; Wed, 02 Mar 2011 10:41:59 -0500 Original-Received: by fxm5 with SMTP id 5so126196fxm.0 for ; 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= Original-Received: by 10.223.101.136 with SMTP id c8mr9623fao.100.1299080500876; Wed, 02 Mar 2011 07:41:40 -0800 (PST) Original-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) 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-Mailman-Approved-At: Wed, 02 Mar 2011 12:15:58 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 02 Mar 2011 12:16:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-Mailman-Approved-At: Wed, 02 Mar 2011 12:42:54 -0500 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:44516 Archived-At: 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@gnu.org 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 f C-g c C-n c C-n M-t M-x r e p o r t - e m 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