From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22912 invoked from network); 5 Feb 2002 16:13:31 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 5 Feb 2002 16:13:31 -0000 Received: (qmail 24355 invoked by alias); 5 Feb 2002 16:13:22 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 16564 Received: (qmail 24341 invoked from network); 5 Feb 2002 16:13:21 -0000 Message-ID: <20020205161317.65408.qmail@web9304.mail.yahoo.com> Date: Tue, 5 Feb 2002 16:13:17 +0000 (GMT) From: =?iso-8859-1?q?Oliver=20Kiddle?= Subject: Re: new fake style, completion grouping etc To: zsh-workers@sunsite.dk In-Reply-To: <15454.19703.823266.240649@wischnow.berkom.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit --- Sven Wischnowsky wrote: > But in the case of _arguments, the tag is created created > automatically, so the user couldn't know it (well, he could know it > beacuse we know how they are constructed, but...). > > Maybe we should make _guard derive the name from the -[JV] argument, > that would be saver than it sounds (the group name is set from the > group-name style, which is tag for most people using it at all, and > it > would ensure that the matches are really in the same group). I'm not sure that I like the idea of using the group name - seems a bit hacky. I'd be more inclined to make _arguments call _guard for some special action syntax, e.g. :-/pattern/. > I've thought about this, too, several times, but didn't dare it yet. > Maybe we should just do it and make 4.1 the phase of completion code > cleanup. > > This wouldn't really help in this case, though. Because _describe > adds > the matches with -V to be able to get the right layout. If one of the > real matches gets added earlier, the list display will get messed up. Well, it would help in that all the matches would be together in the same list under the same description. The fake matches would just not be sorted so the layout might not be ideal. Oliver __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com