From: Oliver Kiddle <okiddle@yahoo.co.uk>
To: zsh-workers@sunsite.dk
Subject: Re: Passsing descriptions down in completion functions
Date: Thu, 09 Jan 2003 15:04:03 +0100 [thread overview]
Message-ID: <32219.1042121043@finches.logica.co.uk> (raw)
In-Reply-To: <32149.1042120127@finches.logica.co.uk>
I wrote:
> The first bug (in my opinion) is that
> _wanted hosts expl host compadd "$@" -a hosts -
> does not work because any explanation arguments after the -a option are
> ignored.
I've just realised that this is wrong because -a is just a flag, with
hosts not being an argument to -a. So _hosts should do:
_wanted hosts expl host compadd "$@" -a - hosts
And a similar change is needed across many of the completion functions.
Oliver
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
next prev parent reply other threads:[~2003-01-09 14:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-09 13:17 Borzenkov Andrey
[not found] ` <32149.1042120127@finches.logica.co.uk>
2003-01-09 14:04 ` Oliver Kiddle [this message]
2003-01-09 15:09 ` Borzenkov Andrey
2003-01-09 16:11 ` Oliver Kiddle
2003-01-09 16:26 Borzenkov Andrey
2003-01-09 17:09 ` Oliver Kiddle
2003-01-10 8:10 ` Borzenkov Andrey
2003-01-14 15:43 ` 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=32219.1042121043@finches.logica.co.uk \
--to=okiddle@yahoo.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).