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

Re: undocumented menu-select widget



Atom Smasher wrote:
> in zshall there's a few references to the "menu-select" widget but i can't 
> find it defined anywhere...?

The reference in the zsh/complist module documentation essentially is
the definition, but it does have a "by the way there's this thing..."
feel to it.

Index: Doc/Zsh/mod_complist.yo
===================================================================
RCS file: /cvsroot/zsh/zsh/Doc/Zsh/mod_complist.yo,v
retrieving revision 1.17
diff -u -r1.17 mod_complist.yo
--- Doc/Zsh/mod_complist.yo	20 Jan 2003 16:34:58 -0000	1.17
+++ Doc/Zsh/mod_complist.yo	8 Nov 2007 12:28:08 -0000
@@ -192,8 +192,15 @@
 completion list (see the tt(ALWAYS_LAST_PROMPT) option in
 ifzman(zmanref(zshoptions))\
 ifnzman(noderef(Options))\
-).  It can be invoked directly by
-the widget tt(menu-select) defined by the module.  Alternatively,
+).
+
+Menu selection can be invoked directly by
+the widget tt(menu-select) defined by this module.  This is a standard
+ZLE widget that can be bound to a key in the usual way as described
+in ifzman(zmanref(zshzle))\
+ifnzman(noderef(Zsh Line Editor)).
+
+Alternatively,
 the parameter tt(MENUSELECT) can be set to an integer, which gives the
 minimum number of matches that must be present before menu selection is
 automatically turned on.  This second method requires that menu completion

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070



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