From: Chong Yidong <cyd@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 23570@debbugs.gnu.org
Subject: bug#23570: 25.1.50; Cursor motion error with visual-line-mode
Date: Thu, 19 May 2016 10:58:42 +0800 [thread overview]
Message-ID: <87bn42rbx9.fsf@gmail.com> (raw)
In-Reply-To: <83oa832pdi.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 18 May 2016 21:27:21 +0300")
Eli Zaretskii <eliz@gnu.org> writes:
> I cannot say I can reproduce this on my machine. I see something
> similar in Emacs 24.5, but not with the current master or release
> branch.
>
> I think what you see could be explained by changing the frame size by
> non-integer number of characters (i.e. by a number of pixels that is
> smaller than the canonical character width). But since I cannot come
> up with a reproducible recipe, I cannot debug this.
The recipe does not describe changing the frame size by non-integer
number of characters. I'm changing the frame (hence window) size by
dragging the frame border; the width changes by one character at a time.
To remove all ambiguity, here is another recipe using elisp:
1. emacs -Q
2. Insert the following:
(defun foo ()
(interactive)
(save-excursion
(dotimes (x 7)
(insert "123456789 "))
(insert "12 ABCDEFGHIJK MOPQ"))
(visual-line-mode)
(set-frame-parameter nil 'width 85))
3. M-x eval-buffer RET
4. M-x foo RET
5. C-e => cursor goes to the wrong place.
next prev parent reply other threads:[~2016-05-19 2:58 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-18 11:20 bug#23570: 25.1.50; Cursor motion error with visual-line-mode Chong Yidong
2016-05-18 18:27 ` Eli Zaretskii
2016-05-19 2:58 ` Chong Yidong [this message]
2016-05-19 4:38 ` Eli Zaretskii
2016-05-19 12:56 ` martin rudalics
2016-05-19 16:50 ` Eli Zaretskii
2016-05-19 17:18 ` Eli Zaretskii
2016-05-20 1:54 ` Chong Yidong
2016-05-21 9:39 ` Eli Zaretskii
2016-05-23 2:09 ` Chong Yidong
2016-05-23 2:36 ` Eli Zaretskii
2016-05-23 6:49 ` John Wiegley
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=87bn42rbx9.fsf@gmail.com \
--to=cyd@gnu.org \
--cc=23570@debbugs.gnu.org \
--cc=eliz@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.