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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: Juri Linkov <juri <at> jurta.org>
Subject: bug#1810 closed by Chong Yidong <cyd <at> stupidchicken.com> (Re: 
 23.0.60; visual-line-mode moves to the wrong column)
Date: Sat, 10 Jan 2009 18:50:03 +0000
[Message part 1 (text/plain, inline)]
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 <cyd <at> stupidchicken.com>.

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 <cyd <at> stupidchicken.com> by
replying to this email.


-- 
1810: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=1810
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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.

[Message part 3 (message/rfc822, inline)]
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/



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

Previous Next


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