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

PATCH: Re: zstyle question: enter menu selection on lots of ambiguity

Bart Schaefer wrote:

> On Jul 28,  9:00am, Sven Wischnowsky wrote:
> } 
> } You can give `select=*' more than once, which especially makes sense
> } if it's once with a number and once with `long*':
> } 
> }   zstyle '*' menu yes=long select=long select=10
> } 
> } (the manual says `In addition to (or instead of)...').
> Yeah, it says `select' can be in addition to or instead of `yes' et al.
> It doesn't say what happens when `select' is in addition to itself.  It
> might be nice to clarify; are there other cases where it's meaningful to
> give similar strings multiple times in the value of a style?

Ouch. Sorry, I got confused by the paragraphs.

Yes, maybe we should mention it.


Index: Doc/Zsh/compsys.yo
RCS file: /cvsroot/zsh/zsh/Doc/Zsh/compsys.yo,v
retrieving revision 1.86
diff -u -r1.86 compsys.yo
--- Doc/Zsh/compsys.yo	2000/07/27 10:59:44	1.86
+++ Doc/Zsh/compsys.yo	2000/07/31 08:02:41
@@ -1649,6 +1649,11 @@
 invoked does completion, not simply listing as done by
 tt(delete-char-or-list); to start menu-selection even here, use the value
+To turn on menu completion or menu selection when a certain number of
+matches is generated em(or) the list of matches does not fit onto the
+screen, both of `tt(yes=)' and `tt(select=)' can be given twice, once
+with a number and once with `tt(long)' or `tt(long-list)'.
 kindex(numbers, completion style)

Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx

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