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

Re: PATCH: zsh-3.1.5-pws-6: bash-style completion



Sven Wischnowsky wrote:
> The patch below fixes both of these. I'll write an extra comment about 
> the positioning of the cursor.

thanks.

> Another problem I can see is the combination of menucomplete and
> bashautolist. Here the list is never shown since we never get to the
> second tab. Maybe we should just document this.

I realised this, I didn't mention it because I thought it was
obvious.  That's a very bad assumption in zsh.

--- Doc/Zsh/options.yo.2t3	Fri Feb  5 10:11:35 1999
+++ Doc/Zsh/options.yo	Fri Feb  5 10:16:00 1999
@@ -157,7 +157,9 @@
 completion function is called twice in succession.  This takes
 precedence over tt(AUTO_LIST).  The setting of tt(LIST_AMBIGUOUS) is
 respected.  If tt(AUTO_MENU) is set, the menu behaviour will then start
-with the third press.
+with the third press.  Note that this will not work with
+tt(MENU_COMPLETE), since repeated completion calls immediately cycle
+through the list in that case.
 )
 pindex(BEEP)
 cindex(beep, enabling)

-- 
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>       Tel: +39 050 844536
WWW:  http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy



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