unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#5816: Cursor moves to end of completions in icomplete-mode
@ 2010-04-01  2:44 Juanma Barranquero
  2010-04-01  7:29 ` Eli Zaretskii
  2010-04-01 12:45 ` Eli Zaretskii
  0 siblings, 2 replies; 3+ messages in thread
From: Juanma Barranquero @ 2010-04-01  2:44 UTC (permalink / raw)
  To: 5816

Version: 24.0.50


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).

    Juanma







^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#5816: Cursor moves to end of completions in icomplete-mode
  2010-04-01  2:44 bug#5816: Cursor moves to end of completions in icomplete-mode Juanma Barranquero
@ 2010-04-01  7:29 ` Eli Zaretskii
  2010-04-01 12:45 ` Eli Zaretskii
  1 sibling, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2010-04-01  7:29 UTC (permalink / raw)
  To: Juanma Barranquero; +Cc: 5816

> 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.






^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#5816: Cursor moves to end of completions in icomplete-mode
  2010-04-01  2:44 bug#5816: Cursor moves to end of completions in icomplete-mode Juanma Barranquero
  2010-04-01  7:29 ` Eli Zaretskii
@ 2010-04-01 12:45 ` Eli Zaretskii
  1 sibling, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2010-04-01 12:45 UTC (permalink / raw)
  To: Juanma Barranquero; +Cc: 5816-done

> From: Juanma Barranquero <lekktu@gmail.com>
> Date: Thu, 1 Apr 2010 04:44:22 +0200
> 
> 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]<>

Actually, the problem was visible even with the standard completion,
not only with icomplete-mode.

I think I fixed it.  Please try again, and if there are still
problems, please reopen the bug.






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-04-01 12:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-01  2:44 bug#5816: Cursor moves to end of completions in icomplete-mode Juanma Barranquero
2010-04-01  7:29 ` Eli Zaretskii
2010-04-01 12:45 ` Eli Zaretskii

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).