From: Oliver Kiddle <opk@u.genie.co.uk>
To: zsh-workers@sunsite.dk
Subject: _values' options
Date: Thu, 31 May 2001 14:20:00 +0100 [thread overview]
Message-ID: <3B1644FF.C89021F3@u.genie.co.uk> (raw)
_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
next reply other threads:[~2001-05-31 13:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-31 13:20 Oliver Kiddle [this message]
2001-05-31 15:20 ` Sven Wischnowsky
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=3B1644FF.C89021F3@u.genie.co.uk \
--to=opk@u.genie.co.uk \
--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).