From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2169 invoked from network); 21 Jun 1999 12:38:50 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 21 Jun 1999 12:38:50 -0000 Received: (qmail 19069 invoked by alias); 21 Jun 1999 12:38:37 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6760 Received: (qmail 19052 invoked from network); 21 Jun 1999 12:38:31 -0000 Date: Mon, 21 Jun 1999 14:38:27 +0200 (MET DST) Message-Id: <199906211238.OAA22720@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: "Andrej Borsenkow"'s message of Mon, 21 Jun 1999 11:53:25 +0400 Subject: 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@informatik.hu-berlin.de