[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17777: [Emacs-diffs] emacs-24 r117241: Fix bug #17777 with keyboard
From: |
Eli Zaretskii |
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 |
> 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.