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

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@xxxxxxxxxxxxxxxxxxxxxxx



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