From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23103 invoked from network); 7 Aug 2002 22:11:26 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 7 Aug 2002 22:11:26 -0000 Received: (qmail 10020 invoked by alias); 7 Aug 2002 22:11:07 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5206 Received: (qmail 9996 invoked from network); 7 Aug 2002 22:11:05 -0000 From: "Bart Schaefer" Message-Id: <020807151030.ZM24584@candle.brasslantern.com> Date: Wed, 7 Aug 2002 15:10:30 -0700 In-Reply-To: <3D5194B5.mail17Q912FSP@viadomus.com> Comments: In reply to DervishD "Re: Completion and menu behavior" (Aug 7, 11:44pm) References: <3D50B9D6.6050603@base2.cc> <15696.52931.954498.323222@wischnow.berkom.de> <3D5194B5.mail17Q912FSP@viadomus.com> X-Mailer: Z-Mail Lite (5.0.0 30July97) To: DervishD , zsh-users@sunsite.dk Subject: Re: Completion and menu behavior MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Aug 7, 11:44pm, DervishD wrote: > Subject: Re: Completion and menu behavior > > >Menuing is done with AUTO_MENU or MENU_COMPLETE or the `menu' style. > > I have AUTO_MENU 'on' and I never get menus, just lists. "Menu completion" is controlled by AUTO_MENU and is the effect you get where typing TAB multiple times cycles through the choices, showing you one choice on the command line each time you press TAB. This term dates from before zsh was able to do fancy navigation though a set of choices displayed in columns below the command line. The latter what is called "menu selection" (to differentiate it from "completion"). > I think that the only way of getting menus is with zstyle (I don't > use compinit). I say 'menu' referring to menu selection. Unfortunately you can't say just the word "menu" and expect anyone who has been using zsh for more than about 2 years to think of "selection", and you'll only confuse yourself if you think "selection" when you see the word "MENU" in a zsh option name. This is why Sven says "menu behavior" in the Subject: is annoying. The way to get menu selection without styles is to set the MENUSELECT parameter, but that's deprecated when using the shell-function-based completion system rather than compctl-based completion.