[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#5816: Cursor moves to end of completions in icomplete-mode
From: |
Eli Zaretskii |
Subject: |
bug#5816: Cursor moves to end of completions in icomplete-mode |
Date: |
Thu, 01 Apr 2010 10:29:52 +0300 |
> From: Juanma Barranquero <lekktu@gmail.com>
> Date: Thu, 1 Apr 2010 04:44:22 +0200
> Cc:
>
> Doing
>
> emacs -Q -f icomplete-mode
> C-h v xa
>
> - with the emacs-23 branch:
>
> Describe variable: xa<(>rgs-program) [Matched]
>
> - with the trunk:
>
> Describe variable: xa(rgs-program) [Matched]<>
>
>
> where <> marks the cursor position. Bisection seems to indicate the
> bug appears in revid:eliz@gnu.org-20100330091307-ier2rhqfttgi90pr
> (Initial support for bidirectional editing).
Yes, that figures. The function that positions the cursor is the only
one that was completely rewritten for the bidi support, because the
original code was designed around the assumption that display is
unidirectional. All the other bidi changes are additions to the
existing code, and are not get executed except for buffers where the
bidi display option was turned on.
Thanks for the report and the test case, I will look into this ASAP.
- bug#5816: Cursor moves to end of completions in icomplete-mode,
Eli Zaretskii <=