Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: pws-23: RE: _match and auto menu with multipath again



Andrej Borsenkow wrote:

> Looks like a problem with list redisplay. Completion code thinks, it has still
> old valid list.

I needed some time to play with configuration keys until I could
reproduce this...
When switching to menucompletion it sometimes didn't show a newly
generated list because it though it had just started automenu using
the old list of matches.

Bye
 Sven

diff -u os/Zle/zle_tricky.c Src/Zle/zle_tricky.c
--- os/Zle/zle_tricky.c	Mon Jun 21 12:49:49 1999
+++ Src/Zle/zle_tricky.c	Mon Jun 21 14:32:17 1999
@@ -7486,7 +7486,7 @@
      * if it is needed.                                                     */
     if (isset(LISTBEEP))
 	feep();
-    if (uselist && usemenu != 2 &&
+    if (uselist && (usemenu != 2 || (!showinglist && !oldlist)) &&
 	(!showinglist || (usemenu == 3 && !oldlist)) &&
 	(smatches >= 2 || (compforcelist && *compforcelist)))
 	showinglist = -2;

--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author