From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27877 invoked from network); 30 Mar 2001 16:35:10 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 30 Mar 2001 16:35:10 -0000 Received: (qmail 611 invoked by alias); 30 Mar 2001 16:35:03 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13857 Received: (qmail 567 invoked from network); 30 Mar 2001 16:35:02 -0000 Message-ID: <20010330163501.92425.qmail@web9302.mail.yahoo.com> Date: Fri, 30 Mar 2001 17:35:01 +0100 (BST) From: =?iso-8859-1?q?Oliver=20Kiddle?= Subject: Re: Two missing completion functions that bug me To: zsh-workers@sunsite.dk In-Reply-To: <1010330153828.ZM4230@candle.brasslantern.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit --- Bart Schaefer wrote: > Yes, but when you're allowed to have other options intervene between > an > option and its argument (as in `tar -fxv file' for example) there has > to > be some way to prevent completion from inserting the space after > `-f'. I accept this but would argue that there are more commands which don't allow other options to intervene. Things like tar can be achieved with with states. Maybe _arguments needs some way to describe whether or not options can intervene between an option and its argument. Things get messy if more than one of the options take an argument. > Not entirely true: `vared -ca scalar' changes the type of an existing I had a comment here, but I've just seen your next message where you spotted it for yourself. > Anything that `fc' does, with the exception of `-e'. The -e option % r -lD zsh: bad option: -D It doesn't though. This is why I was confused - why should it accept -l but not -D. Is this something to do with ksh behaviour being used. 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