all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: emacs-pretest-bug@gnu.org
Subject: bug#1810: 23.0.60; visual-line-mode moves to the wrong column
Date: Tue, 06 Jan 2009 19:45:07 +0200	[thread overview]
Message-ID: <87ljtowcwc.fsf@jurta.org> (raw)

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	other threads:[~2009-01-06 17:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87mydz2ean.fsf@cyd.mit.edu>
2009-01-06 17:45 ` Juri Linkov [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ljtowcwc.fsf@jurta.org \
    --to=juri@jurta.org \
    --cc=1810@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.