From unknown Fri Aug 15 21:23:21 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#1810: 23.0.60; visual-line-mode moves to the wrong column Reply-To: Juri Linkov , 1810@debbugs.gnu.org Resent-From: Juri Linkov Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 06 Jan 2009 17:55:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 1810 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123126394522929 (code B ref -1); Tue, 06 Jan 2009 17:55:05 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 6 Jan 2009 17:45:45 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n06HjgGP022917 for ; Tue, 6 Jan 2009 09:45:43 -0800 Received: from mail.gnu.org ([199.232.76.166]:48446 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LKFyh-0006bR-MH for emacs-pretest-bug@gnu.org; Tue, 06 Jan 2009 12:44:31 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LKFzo-0001S1-Kc for emacs-pretest-bug@gnu.org; Tue, 06 Jan 2009 12:45:41 -0500 Received: from relay02.kiev.sovam.com ([62.64.120.197]:52991) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LKFzn-0001RT-M2 for emacs-pretest-bug@gnu.org; Tue, 06 Jan 2009 12:45:40 -0500 Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay02.kiev.sovam.com with esmtp (Exim 4.67) (envelope-from ) id 1LKFzl-0002je-7L for emacs-pretest-bug@gnu.org; Tue, 06 Jan 2009 19:45:37 +0200 From: Juri Linkov To: emacs-pretest-bug@gnu.org Organization: JURTA Date: Tue, 06 Jan 2009 19:45:07 +0200 Message-ID: <87ljtowcwc.fsf@jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanner-Signature: e35cef5ed21d82303c208435479e4a86 X-DrWeb-checked: yes X-SpamTest-Envelope-From: juri@jurta.org X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Trusted X-SpamTest-Info: Profiles 5467 [Oct 22 2008] X-SpamTest-Info: {received from trusted relay: common white list} X-SpamTest-Info: {HEADERS: header Content-Type found without required header Content-Transfer-Encoding} X-SpamTest-Method: white ip list X-SpamTest-Rate: 10 X-SpamTest-Status: Trusted X-SpamTest-Status-Extended: trusted X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0278], KAS30/Release X-detected-operating-system: by monty-python.gnu.org: FreeBSD 6.x (1) When `line-move-visual' is non-nil, moving down from a control character moves to the wrong column. Test case: 1. insert to a new buffer the following text: ^@est. Test2. Test3. where ^@ at the beginning of the buffer is a NULL control character. 2. Move to the beginning of the buffer (M-<). 3. Move down (C-n) - point jumps from the *first* column of the first line to the *second* column of the second line. This behavior can be traced back to the function `posn-at-point' that returns the x-coordinate of the second character in the displayed control sequence "^@" instead of the first character where point is actually located. -- Juri Linkov http://www.jurta.org/emacs/ From unknown Fri Aug 15 21:23:21 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Juri Linkov Subject: bug#1810 closed by Chong Yidong (Re: 23.0.60; visual-line-mode moves to the wrong column) Message-ID: References: <87mydz2ean.fsf@cyd.mit.edu> <87ljtowcwc.fsf@jurta.org> X-Emacs-PR-Message: they-closed 1810 X-Emacs-PR-Package: emacs Reply-To: 1810@debbugs.gnu.org Date: Sat, 10 Jan 2009 18:50:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1231613403-15639-1" This is a multi-part message in MIME format... ------------=_1231613403-15639-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #1810: 23.0.60; visual-line-mode moves to the wrong column It has been closed by Chong Yidong . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Chong Yidong by replying to this email. --=20 1810: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D1810 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1231613403-15639-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 1810-done) by emacsbugs.donarmstrong.com; 10 Jan 2009 18:42:30 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0AIgRPx014373 for <1810-done@emacsbugs.donarmstrong.com>; Sat, 10 Jan 2009 10:42:28 -0800 Received: by cyd.mit.edu (Postfix, from userid 1000) id 2FD6C57E197; Sat, 10 Jan 2009 13:42:40 -0500 (EST) From: Chong Yidong To: Juri Linkov Cc: 1810-done@debbugs.gnu.org Subject: Re: 23.0.60; visual-line-mode moves to the wrong column Date: Sat, 10 Jan 2009 13:42:40 -0500 Message-ID: <87mydz2ean.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > When `line-move-visual' is non-nil, moving down from a control character > moves to the wrong column. > > This behavior can be traced back to the function `posn-at-point' that > returns the x-coordinate of the second character in the displayed > control sequence "^@" instead of the first character where point is > actually located. I've checked in a fix. Thanks. ------------=_1231613403-15639-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 6 Jan 2009 17:45:45 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n06HjgGP022917 for ; Tue, 6 Jan 2009 09:45:43 -0800 Received: from mail.gnu.org ([199.232.76.166]:48446 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LKFyh-0006bR-MH for emacs-pretest-bug@gnu.org; Tue, 06 Jan 2009 12:44:31 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LKFzo-0001S1-Kc for emacs-pretest-bug@gnu.org; Tue, 06 Jan 2009 12:45:41 -0500 Received: from relay02.kiev.sovam.com ([62.64.120.197]:52991) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LKFzn-0001RT-M2 for emacs-pretest-bug@gnu.org; Tue, 06 Jan 2009 12:45:40 -0500 Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay02.kiev.sovam.com with esmtp (Exim 4.67) (envelope-from ) id 1LKFzl-0002je-7L for emacs-pretest-bug@gnu.org; Tue, 06 Jan 2009 19:45:37 +0200 From: Juri Linkov To: emacs-pretest-bug@gnu.org Subject: 23.0.60; visual-line-mode moves to the wrong column Organization: JURTA Date: Tue, 06 Jan 2009 19:45:07 +0200 Message-ID: <87ljtowcwc.fsf@jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanner-Signature: e35cef5ed21d82303c208435479e4a86 X-DrWeb-checked: yes X-SpamTest-Envelope-From: juri@jurta.org X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Trusted X-SpamTest-Info: Profiles 5467 [Oct 22 2008] X-SpamTest-Info: {received from trusted relay: common white list} X-SpamTest-Info: {HEADERS: header Content-Type found without required header Content-Transfer-Encoding} X-SpamTest-Method: white ip list X-SpamTest-Rate: 10 X-SpamTest-Status: Trusted X-SpamTest-Status-Extended: trusted X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0278], KAS30/Release X-detected-operating-system: by monty-python.gnu.org: FreeBSD 6.x (1) When `line-move-visual' is non-nil, moving down from a control character moves to the wrong column. Test case: 1. insert to a new buffer the following text: ^@est. Test2. Test3. where ^@ at the beginning of the buffer is a NULL control character. 2. Move to the beginning of the buffer (M-<). 3. Move down (C-n) - point jumps from the *first* column of the first line to the *second* column of the second line. This behavior can be traced back to the function `posn-at-point' that returns the x-coordinate of the second character in the displayed control sequence "^@" instead of the first character where point is actually located. -- Juri Linkov http://www.jurta.org/emacs/ ------------=_1231613403-15639-1--