From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.dk
Subject: Re: _values' options
Date: Thu, 31 May 2001 17:20:46 +0200 (MET DST) [thread overview]
Message-ID: <200105311520.RAA12674@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: <3B1644FF.C89021F3@u.genie.co.uk>
Oliver Kiddle wrote:
> _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?
Yes, some. It might be possible to pass some of them through to the
calls to compadd, as you well know, since:
> 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.
In some cases, yes. I guess I didn't made that because there are so
many cases where _values has to use the suffix itself.
There it is again... suffix handling, one of the things on the list in
my head...
Bye
Sven
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
prev parent reply other threads:[~2001-05-31 15:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-31 13:20 Oliver Kiddle
2001-05-31 15:20 ` Sven Wischnowsky [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200105311520.RAA12674@beta.informatik.hu-berlin.de \
--to=wischnow@informatik.hu-berlin.de \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).