unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#1810: 23.0.60; visual-line-mode moves to the wrong column
@ 2009-01-06 17:45 ` Juri Linkov
  2009-01-10 18:50   ` bug#1810: marked as done (23.0.60; visual-line-mode moves to the wrong column) Emacs bug Tracking System
  0 siblings, 1 reply; 2+ messages in thread
From: Juri Linkov @ 2009-01-06 17:45 UTC (permalink / raw)
  To: emacs-pretest-bug

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/






^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#1810: marked as done (23.0.60; visual-line-mode moves to the  wrong column)
  2009-01-06 17:45 ` bug#1810: 23.0.60; visual-line-mode moves to the wrong column Juri Linkov
@ 2009-01-10 18:50   ` Emacs bug Tracking System
  0 siblings, 0 replies; 2+ messages in thread
From: Emacs bug Tracking System @ 2009-01-10 18:50 UTC (permalink / raw)
  To: Chong Yidong

[-- Attachment #1: Type: text/plain, Size: 888 bytes --]


Your message dated Sat, 10 Jan 2009 13:42:40 -0500
with message-id <87mydz2ean.fsf@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 owner@emacsbugs.donarmstrong.com
immediately.)


-- 
1810: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1810
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 3245 bytes --]

From: Juri Linkov <juri@jurta.org>
To: emacs-pretest-bug@gnu.org
Subject: 23.0.60; visual-line-mode moves to the wrong column
Date: Tue, 06 Jan 2009 19:45:07 +0200
Message-ID: <87ljtowcwc.fsf@jurta.org>

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/



[-- Attachment #3: Type: message/rfc822, Size: 1422 bytes --]

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

> 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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-01-10 18:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <87mydz2ean.fsf@cyd.mit.edu>
2009-01-06 17:45 ` bug#1810: 23.0.60; visual-line-mode moves to the wrong column Juri Linkov
2009-01-10 18:50   ` bug#1810: marked as done (23.0.60; visual-line-mode moves to the wrong column) Emacs bug Tracking System

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).