From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29313 invoked from network); 17 Apr 2001 10:44:15 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 17 Apr 2001 10:44:15 -0000 Received: (qmail 17689 invoked by alias); 17 Apr 2001 10:44:08 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 14000 Received: (qmail 17676 invoked from network); 17 Apr 2001 10:44:07 -0000 Message-ID: <20010417104405.42259.qmail@web9307.mail.yahoo.com> Date: Tue, 17 Apr 2001 11:44:05 +0100 (BST) From: =?iso-8859-1?q?Oliver=20Kiddle?= Subject: Re: problem with _arguments exclusion lists To: zsh-workers@sunsite.dk In-Reply-To: <200104170950.LAA05595@beta.informatik.hu-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit --- Sven Wischnowsky wrote: > Hrmpf. Yes. This was a bit more complicated to fix because the option > should still keep itself from being offered as a possible completion > a > second time unless it may be given more than once. I suspected that it mightn't be too easy when I posted the first message. The patch seems to fix it but the following still doesn't work: _arguments -s '(-conf)-c+:val' '-conf' '-f' after -c, it completes with the 'val' message so even after -co, it can't complete -conf. I found these problems with _pine which completes a number after -c. Maybe there would be a use here for a basic completion for numbers so that it can know that -co can not be -c with a parameter. Oliver ____________________________________________________________ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie