From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5577 invoked from network); 9 Jan 2003 14:02:23 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 9 Jan 2003 14:02:23 -0000 Received: (qmail 20341 invoked by alias); 9 Jan 2003 14:02:15 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 18064 Received: (qmail 20311 invoked from network); 9 Jan 2003 14:02:14 -0000 X-VirusChecked: Checked X-Env-Sender: kiddleo@logica.com X-Msg-Ref: server-21.tower-4.messagelabs.com!1042120894!29448 X-Authentication-Warning: iris.logica.co.uk: Host [158.234.142.11] claimed to be finches.logica.co.uk In-reply-to: <32149.1042120127@finches.logica.co.uk> From: Oliver Kiddle References: <6134254DE87BD411908B00A0C99B044F04D68E65@MOWD019A> <32149.1042120127@finches.logica.co.uk> To: zsh-workers@sunsite.dk Subject: Re: Passsing descriptions down in completion functions Date: Thu, 09 Jan 2003 15:04:03 +0100 Message-ID: <32219.1042121043@finches.logica.co.uk> Sender: kiddleo@logica.com I wrote: > The first bug (in my opinion) is that > _wanted hosts expl host compadd "$@" -a hosts - > does not work because any explanation arguments after the -a option are > ignored. I've just realised that this is wrong because -a is just a flag, with hosts not being an argument to -a. So _hosts should do: _wanted hosts expl host compadd "$@" -a - hosts And a similar change is needed across many of the completion functions. Oliver This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.