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: Chong Yidong <cyd <at> stupidchicken.com>
Subject: bug#1810: marked as done (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)]
Your message dated Sat, 10 Jan 2009 13:42:40 -0500
with message-id <87mydz2ean.fsf <at> cyd.mit.edu>
and subject line Re: 23.0.60; visual-line-mode moves to the wrong column
has caused the Emacs bug report #1810,
regarding 23.0.60; visual-line-mode moves to the wrong column
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact help-debbugs <at> gnu.org
immediately.)


-- 
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: 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/


[Message part 3 (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.


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.