Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: current CVS test failure
- X-seq: zsh-workers 18490
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: current CVS test failure
- Date: Wed, 30 Apr 2003 16:30:46 +0200
- In-reply-to: <23086.1051710727@xxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <23086.1051710727@xxxxxxx>
Peter wrote:
> Oliver Kiddle wrote:
> > The test is doing _arguments '-+o'. Because there are no other
> > (non-option) things being completed, it adds the -o and +o regardless
> > of the prefix. In _describe, I can't know if _arguments is completing
> > other things so I can't think of any easy solution other than checking
> > prefix-needed manually in any other function using _describe -o.
>
> how about adding another option to _describe e.g. -O which works the
> same but doesn't test prefix-needed and only gets called from
> _arguments?
Possibly.
I was hoping to experiment with a few things because I've got a couple
of other vague ideas. Functions other than _arguments might also be
completing things besides options so would also need the -O behaviour.
Anyway, I've got a train to catch so I can't do anything till next week.
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author