zsh-workers
 help / color / mirror / code / Atom feed
* _menu
@ 2003-09-20 22:52 Oliver Kiddle
  0 siblings, 0 replies; only message in thread
From: Oliver Kiddle @ 2003-09-20 22:52 UTC (permalink / raw)
  To: Zsh workers

The documentation implies that _menu is nothing more than an example.
However, it has the side effect of disabling menu selection which can
be useful if you want pure menu completion in an _generic based widget.
The result is a lot tidier than adjusting your select style to exclude
a bunch of widgets. So this adjusts the documentation to mention that
use for it.

Index: Doc/Zsh/compsys.yo
===================================================================
RCS file: /cvsroot/zsh/zsh/Doc/Zsh/compsys.yo,v
retrieving revision 1.172
diff -u -r1.172 compsys.yo
--- Doc/Zsh/compsys.yo	21 Jul 2003 17:01:44 -0000	1.172
+++ Doc/Zsh/compsys.yo	20 Sep 2003 22:42:47 -0000
@@ -2784,12 +2784,13 @@
 )
 findex(_menu)
 item(tt(_menu))(
-This completer is a simple example function implemented to show how
-menu completion can be done in shell code.  It should be used as the
-first completer and has the effect of making later completers perform
-menu completion.  Note that this is independent of the setting of the
-tt(MENU_COMPLETE) option and does not work with the other
-menu completion widgets such as tt(reverse-menu-complete), or
+This completer was written as simple example function to show how menu
+completion can be enabled in shell code. However, it has the notable
+effect of disabling menu selection which can be useful with
+tt(_generic) based widgets. It should be used as the first completer in
+the list.  Note that this is independent of the setting of the
+tt(MENU_COMPLETE) option and does not work with the other menu
+completion widgets such as tt(reverse-menu-complete), or
 tt(accept-and-menu-complete).
 )
 findex(_oldlist)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-09-20 22:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-20 22:52 _menu Oliver Kiddle

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).