From: Borzenkov Andrey <Andrey.Borzenkov@siemens.com>
To: "'zsh-workers@sunsite.dk'" <zsh-workers@sunsite.dk>
Subject: RE: Passsing descriptions down in completion functions
Date: Thu, 9 Jan 2003 19:26:12 +0300 [thread overview]
Message-ID: <6134254DE87BD411908B00A0C99B044F04D69127@MOWD019A> (raw)
>
> The general question - should completion functions ever accept (be used
> with) other options than compadd? If not the above is perfectly valid and
> probably more simple that modifying every single function. If yes, here is
> the list of functions that use _wanted without '-'.
>
Well, I started to look into these functions and immediately hit some
problems:
AIX/Type/_object_classes:
_wanted objectclasses expl 'object class' \
_files -W ${ODMDIR:-/etc/objrepos} -g '^*.vc'
Here is just no place where I could stuff the magic "-". Granted, this one
does not pass arguments it receives but in general I do not see why it
should not do it.
Base/Utility/_sub_commands
if [[ CURRENT -eq 2 ]]; then
_wanted commands expl command compadd "$@"
else
_message 'no more arguments'
fi
almost the same problem. In this case arguments contain both description and
matches so I have no way to stuff "-" in between.
-andrey
next reply other threads:[~2003-01-09 16:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-09 16:26 Borzenkov Andrey [this message]
2003-01-09 17:09 ` Oliver Kiddle
2003-01-10 8:10 ` Borzenkov Andrey
2003-01-14 15:43 ` Oliver Kiddle
-- strict thread matches above, loose matches on Subject: below --
2003-01-09 13:17 Borzenkov Andrey
[not found] ` <32149.1042120127@finches.logica.co.uk>
2003-01-09 14:04 ` Oliver Kiddle
2003-01-09 15:09 ` Borzenkov Andrey
2003-01-09 16:11 ` Oliver Kiddle
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=6134254DE87BD411908B00A0C99B044F04D69127@MOWD019A \
--to=andrey.borzenkov@siemens.com \
--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).