From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10277 invoked from network); 7 Jul 1999 11:05:35 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 7 Jul 1999 11:05:35 -0000 Received: (qmail 11576 invoked by alias); 7 Jul 1999 11:05:17 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7004 Received: (qmail 11569 invoked from network); 7 Jul 1999 11:05:15 -0000 Date: Wed, 7 Jul 1999 13:05:13 +0200 (MET DST) Message-Id: <199907071105.NAA10514@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: "Andrej Borsenkow"'s message of Wed, 7 Jul 1999 14:42:48 +0400 Subject: RE: PATCH: Enhancing math expressions a bit Andrej Borsenkow wrote: > > Is your machine fast enough? If so you can try this one. Just start it > > and it will attempt completion after every character you type, showing > > the list of matches. There are even some configuration keys, although > > it should work with compctl, too. > > > > Incredible. This is one more thing I was tempted to ask for ... but I always > thought it was impossible :-) > > Small problem - after I type the second character, new list is not redisplayed > (no list is actually displayed): > > (this is after 'ls Meta-x incremental-complete-word' Ah, I didn't try execute-named-command. zrefresh() should still print a *new* list even if clearlist is set. This should probably be applied to 3.0.6, too. I don't know if we have a possibility to trigger this in that version, though. Bye Sven diff -u os/Zle/zle_refresh.c Src/Zle/zle_refresh.c --- os/Zle/zle_refresh.c Wed Jul 7 11:28:50 1999 +++ Src/Zle/zle_refresh.c Wed Jul 7 13:02:01 1999 @@ -281,7 +281,9 @@ clearflag = 0; resetneeded = 1; } - listshown = showinglist = 0; + listshown = 0; + if (showinglist != -2) + showinglist = 0; } clearlist = 0; -- Sven Wischnowsky wischnow@informatik.hu-berlin.de