From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7414 invoked from network); 28 Jan 2002 16:38:51 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 28 Jan 2002 16:38:51 -0000 Received: (qmail 22368 invoked by alias); 28 Jan 2002 16:38:42 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 16508 Received: (qmail 22355 invoked from network); 28 Jan 2002 16:38:40 -0000 From: Sven Wischnowsky MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15445.32320.594107.591037@wischnow.berkom.de> Date: Mon, 28 Jan 2002 17:37:20 +0100 To: zsh-workers@sunsite.dk Subject: Re: PATCH: _file_systems & Re: zstyle for _arguments feature request In-Reply-To: <20020122023510.33201.qmail@web10408.mail.yahoo.com> References: <20020122023510.33201.qmail@web10408.mail.yahoo.com> X-Mailer: VM 6.95 under 21.5 (patch 3) "asparagus" XEmacs Lucid Felix Rosencrantz wrote: > I really like the new fake parameter. > > Though there is a possible strange behavior. I'm not sure how multiple > matches are handled in other situations, so this might just be how > completion works. > > Given these commands: > > host@ zstyle :completion::complete:cvs-admin:option-k-1:option-k-1 fake > b:binary > host@ cvs admin -k > ---- keyword substitution > b -- binary > b k kv kvl o v > > I wanted to add help text to options to the -k flag. I was able to do that, > however, "b" is now listed twice. (As well as any other options to which I > add help.) I've had a closer look at this. It's because calling _describe adds the faked matches in a -V-group and later the normal matches are added in a -J-group. Hrm. Both showing -V- and -J-groups together or removing duplicates in such pairs of groups with the same name could mess things up terribly, so that's not a possible solution. Maybe I've got to re-think the whole fake-style thing again. But anyway, the descriptions should be added by _cvs. Bye Sven -- Sven Wischnowsky wischnow@berkom.de