GNU bug report logs -
#73511
30.0.91; icomplete-vertical-mode TAB-key pops two completions windows
Previous Next
Reported by: Van Ly <van.ly <at> sdf.org>
Date: Fri, 27 Sep 2024 07:56:01 UTC
Severity: normal
Found in version 30.0.91
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Sat, 12 Oct 2024 14:19:12 +0300
with message-id <86bjzpy3f3.fsf <at> gnu.org>
and subject line Re: bug#73511: 30.0.91; icomplete-vertical-mode TAB-key pops two completions windows
has caused the debbugs.gnu.org bug report #73511,
regarding 30.0.91; icomplete-vertical-mode TAB-key pops two completions windows
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
73511: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=73511
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (text/plain, inline)]
Hello,
When the icomplete-vertical-mode is on, pressing TAB to complete a
single option using find-file C-x C-f behaves as expected but pressing
TAB to select one of two options pops two completions windows and is
unexpected.
To retrace steps,
1. open "emacs -Q"
2. M-x icomplete-vertical-mode
3. navigate with TAB completions after find-file C-x C-f
Say, I want to open the following using find-file C-x C-f
/usr/src/external/gpl3/gcc/dist/gcc/configure
The directory /usr/src/external has two subdirectories gpl2 and gpl3.
at the point /usr/src/ex TAB completes the path to /usr/src/external/
at the point /usr/src/external/gp TAB completes the path to /usr/src/external/gpl
at the point /usr/src/external/gpl
C-n or C-p will move the highlight between gpl2 or gpl3 (See A)
pressing TAB pops a second *Completions* window (See B)
Expected behavior is for TAB to pick the highlighted directory and continue with path to file selection
=> http://sdf.org/~van.ly/img/emacs-30-0-91-pretest-icomplete-vertical-mode-buffer-A.jpeg A
=> http://sdf.org/~van.ly/img/emacs-30-0-91-pretest-icomplete-vertical-mode-buffer-B.jpeg B
[x (application/octet-stream, attachment)]
[Message part 5 (text/plain, inline)]
--
vl
[Message part 6 (message/rfc822, inline)]
> From: Van Ly <van.ly <at> sdf.org>
> Cc: 73511 <at> debbugs.gnu.org
> Date: Fri, 27 Sep 2024 17:58:41 +0000
>
>
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
> >>
> >> Pressing TAB at that point on either highlighted alternatives duplicates
> >> the *Completions* window resulting in 2 *Completions* windows. And, as
> >> far as I know the user has to mouse select from the duplicated window.
> >
> > No, you can select with C-j or with M-TAB.
> >
>
> I see, M-TAB is the behavior I intend. C-j goes to dired mode for the
> highlighted directory.
>
> >> The intended behavior is to get to the target configure file preferably
> >> without needing to mouse point in the second *Completions* window, TAB
> >> would select from the inferred highlighted option.
> >
> > No, in Icomplete mode TAB does not select. I suggest to read the
> > "Icomplete" node in the Emacs user manual, it explains how to use this
> > mode.
> >
>
> Yes, I should read it. Thanks.
No further comments, so I'm now closing this bug.
This bug report was last modified 280 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.