From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8573 invoked from network); 31 May 2001 13:20:14 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 31 May 2001 13:20:14 -0000 Received: (qmail 13542 invoked by alias); 31 May 2001 13:20:05 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 14608 Received: (qmail 13523 invoked from network); 31 May 2001 13:20:03 -0000 Sender: kiddleo Message-ID: <3B1644FF.C89021F3@u.genie.co.uk> Date: Thu, 31 May 2001 14:20:00 +0100 From: Oliver Kiddle X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.15 i686) X-Accept-Language: en MIME-Version: 1.0 To: zsh-workers@sunsite.dk Subject: _values' options Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit _values, currently doesn't handle any of the standard compadd style arguments. This means that it can't be used from _arguments. Try this to see why: _arguments '-a:val:_values -s , value one two three' I do actually have a case where _values would be useful from _arguments. I'm guessing that all it would need is a zparseopts to throw the options away? The other related issue is that _values' -S option is possibly not the best choice of letter. Ideally, it would be possible to pass _values a suffix and it would work out when the value being completed is the last possible value (from the exclusion lists) and then use that suffix. Oliver