GNU bug report logs - #1810
23.0.60; visual-line-mode moves to the wrong column

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> jurta.org>

Date: Tue, 6 Jan 2009 17:55:05 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1810 in the body.
You can then email your comments to 1810 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1810; Package emacs. (Tue, 06 Jan 2009 17:55:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Juri Linkov <juri <at> jurta.org>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 06 Jan 2009 17:55:06 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Juri Linkov <juri <at> jurta.org>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; visual-line-mode moves to the wrong column
Date: Tue, 06 Jan 2009 19:45:07 +0200
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/




Reply sent to Chong Yidong <cyd <at> stupidchicken.com>:
You have taken responsibility. (Sat, 10 Jan 2009 18:50:03 GMT) Full text and rfc822 format available.

Notification sent to Juri Linkov <juri <at> jurta.org>:
bug acknowledged by developer. (Sat, 10 Jan 2009 18:50:03 GMT) Full text and rfc822 format available.

Message #10 received at 1810-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Juri Linkov <juri <at> jurta.org>
Cc: 1810-done <at> 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
> 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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Sun, 08 Feb 2009 15:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 191 days ago.

Previous Next


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