Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: pws-23: RE: _match and auto menu with multipath again
- X-seq: zsh-workers 6760
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: pws-23: RE: _match and auto menu with multipath again
- Date: Mon, 21 Jun 1999 14:38:27 +0200 (MET DST)
- In-reply-to: "Andrej Borsenkow"'s message of Mon, 21 Jun 1999 11:53:25 +0400
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
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