GNU bug report logs - #5816
Cursor moves to end of completions in icomplete-mode

Previous Next

Package: emacs;

Reported by: Juanma Barranquero <lekktu <at> gmail.com>

Date: Thu, 1 Apr 2010 02:45:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 5816 in the body.
You can then email your comments to 5816 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5816; Package emacs. (Thu, 01 Apr 2010 02:45:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Juanma Barranquero <lekktu <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 01 Apr 2010 02:45:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Cursor moves to end of completions in icomplete-mode
Date: Thu, 1 Apr 2010 04:44:22 +0200
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 <at> gnu.org-20100330091307-ier2rhqfttgi90pr
(Initial support for bidirectional editing).

    Juanma





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5816; Package emacs. (Thu, 01 Apr 2010 07:30:03 GMT) Full text and rfc822 format available.

Message #8 received at 5816 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: 5816 <at> debbugs.gnu.org
Subject: Re: bug#5816: Cursor moves to end of completions in icomplete-mode
Date: Thu, 01 Apr 2010 10:29:52 +0300
> From: Juanma Barranquero <lekktu <at> 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 <at> 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.




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Thu, 01 Apr 2010 12:47:01 GMT) Full text and rfc822 format available.

Notification sent to Juanma Barranquero <lekktu <at> gmail.com>:
bug acknowledged by developer. (Thu, 01 Apr 2010 12:47:01 GMT) Full text and rfc822 format available.

Message #13 received at 5816-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: 5816-done <at> debbugs.gnu.org
Subject: Re: bug#5816: Cursor moves to end of completions in icomplete-mode
Date: Thu, 01 Apr 2010 15:45:09 +0300
> From: Juanma Barranquero <lekktu <at> 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.




Message #14 received at 5816-done <at> debbugs.gnu.org (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 5816-done <at> debbugs.gnu.org
Subject: Re: bug#5816: Cursor moves to end of completions in icomplete-mode
Date: Thu, 1 Apr 2010 16:03:42 +0200
On Thu, Apr 1, 2010 at 14:45, Eli Zaretskii <eliz <at> gnu.org> wrote:

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

I rarely use standard completion, so I didn't notice.

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

Yeah, it works now. Thanks.

    Juanma




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 30 Apr 2010 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 113 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.