From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11531 invoked from network); 20 Sep 2003 22:45:38 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 20 Sep 2003 22:45:38 -0000 Received: (qmail 11574 invoked by alias); 20 Sep 2003 22:45:32 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 19106 Received: (qmail 11559 invoked from network); 20 Sep 2003 22:45:31 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 20 Sep 2003 22:45:31 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [80.184.45.160] by sunsite.dk (MessageWall 1.0.8) with SMTP; 20 Sep 2003 22:45:31 -0000 Received: from opk by athlon with esmtp (masqmail 0.2.20) id 1A0qaL-0sh-00 for ; Sun, 21 Sep 2003 00:52:13 +0200 From: Oliver Kiddle To: Zsh workers Subject: _menu Date: Sun, 21 Sep 2003 00:52:13 +0200 Message-ID: <3390.1064098333@athlon> Sender: okiddle@yahoo.co.uk 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)