From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#23570: 25.1.50; Cursor motion error with visual-line-mode Date: Sat, 21 May 2016 12:39:09 +0300 Message-ID: <83posf7nsy.fsf@gnu.org> References: <87lh374npf.fsf@gmail.com> <83oa832pdi.fsf@gnu.org> <87bn42rbx9.fsf@gmail.com> <83futeachi.fsf@gnu.org> <837feq9emd.fsf@gnu.org> <8337pe9dbi.fsf@gnu.org> <87oa81jxyu.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1463823630 5985 80.91.229.3 (21 May 2016 09:40:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 May 2016 09:40:30 +0000 (UTC) Cc: 23570@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 21 11:40:19 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1b43OL-0000cp-G0 for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 May 2016 11:40:17 +0200 Original-Received: from localhost ([::1]:39877 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b43OH-0000KM-D7 for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 May 2016 05:40:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55952) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b43O9-0000Gj-So for bug-gnu-emacs@gnu.org; Sat, 21 May 2016 05:40:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b43O6-0003dg-Ir for bug-gnu-emacs@gnu.org; Sat, 21 May 2016 05:40:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47201) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b43O6-0003dc-Fq for bug-gnu-emacs@gnu.org; Sat, 21 May 2016 05:40:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b43O6-0003n7-A0 for bug-gnu-emacs@gnu.org; Sat, 21 May 2016 05:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 May 2016 09:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23570 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23570-submit@debbugs.gnu.org id=B23570.146382355214511 (code B ref 23570); Sat, 21 May 2016 09:40:02 +0000 Original-Received: (at 23570) by debbugs.gnu.org; 21 May 2016 09:39:12 +0000 Original-Received: from localhost ([127.0.0.1]:59538 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b43NI-0003ly-Ax for submit@debbugs.gnu.org; Sat, 21 May 2016 05:39:12 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36484) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b43NF-0003ll-Uv for 23570@debbugs.gnu.org; Sat, 21 May 2016 05:39:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b43N9-0003IJ-Qn for 23570@debbugs.gnu.org; Sat, 21 May 2016 05:39:04 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34711) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b43N6-0003Go-1G; Sat, 21 May 2016 05:39:00 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4403 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b43N4-0002Td-8Z; Sat, 21 May 2016 05:38:58 -0400 In-reply-to: <87oa81jxyu.fsf@gmail.com> (message from Chong Yidong on Fri, 20 May 2016 09:54:17 +0800) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:118512 Archived-At: > From: Chong Yidong > Cc: 23570@debbugs.gnu.org > Date: Fri, 20 May 2016 09:54:17 +0800 > > Eli Zaretskii writes: > > > the first word that wraps to the next screen line is followed by more > > than one whitespace character. In your recipe, that would be the 2 > > spaces in "ABCDEFGHIJK MOPQ". > > Yes, the two whitespaces on the wrapped line seem to be necessary to > trigger the bug. > > > I wonder what your real-life use cases where > > I came across this while editing a LaTeX document, and the two white > spaces that triggered the bug were the usual two spaces after a full > stop. I'd previously noticed the bug on a couple of occasions, sometime > after the Emacs 24.4 release, but didn't manage to get a reproducible > recipe until now. Thanks, I've pushed a fix to the master branch (commit 99848b3). Please test. (I think this change is too low-level to be safe for the emacs-25 branch at this late stage of pretest.)