Subject: Re: bug#73511: 30.0.91; icomplete-vertical-mode TAB-key pops two completions windows

From: Eli Zaretskii <[email-masked]>
Date: Fri, 27 Sep 2024 13:35:33 +0300

> Date: Fri, 27 Sep 2024 07:41:57 +0000
> From:  Van Ly via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <[email-masked]>
> 
>  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

There are no 2 *Completions* windows.  Instead, you have one
*Completions* window and the list of completions in the mini-window.

I think this is the intended behavior, and see no bug here.