From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 17777@debbugs.gnu.org
Subject: bug#17777: [Emacs-diffs] emacs-24 r117241: Fix bug #17777 with keyboard macros and visual-order cursor movement.
Date: Tue, 17 Jun 2014 05:46:40 +0300 [thread overview]
Message-ID: <83bntsuub3.fsf@gnu.org> (raw)
In-Reply-To: <jwvy4wwsg4l.fsf-monnier+emacsdiffs@gnu.org>
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: 17777@debbugs.gnu.org
> Date: Mon, 16 Jun 2014 17:28:05 -0400
>
> >> But that can occur even without executing kbd macros, no?
> > Not sure what you mean by that.
>
> E.g. don't we have the same kind of problem if we use a command like:
>
> (defun my-wacky-movement ()
> (interactive)
> (dotimes (_ 5)
> (move-point-visually 1)))
> or
> (defun my-wacky-movement ()
> (interactive)
> (and (re-search-forward " " nil t)
> (move-point-visually 1)))
We did, before r117250.
> > I see no easy way of finding the cursor glyph coordinates by starting
> > from point; a (not so easy) way is the second method used by that
> > function.
>
> Then is there a way to check whether point is consistent with the cursor
> glyph position (and use this check instead of the
> NILP(Vexecuting_kbd_macro) check)?
Indeed, there is. That's what I did in r117250.
prev parent reply other threads:[~2014-06-17 2:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1WvlrC-0007Ya-Lc@vcs.savannah.gnu.org>
2014-06-14 21:06 ` bug#17777: [Emacs-diffs] emacs-24 r117241: Fix bug #17777 with keyboard macros and visual-order cursor movement Stefan Monnier
2014-06-15 2:47 ` Eli Zaretskii
2014-06-15 4:14 ` Stefan Monnier
2014-06-15 16:12 ` Eli Zaretskii
2014-06-16 19:40 ` Eli Zaretskii
2014-06-16 21:50 ` Stefan Monnier
2014-06-16 21:28 ` Stefan Monnier
2014-06-17 2:46 ` Eli Zaretskii [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83bntsuub3.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=17777@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
/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 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).