From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: zsh-3.1.5-pws-11: _bindkey
Date: Wed, 10 Mar 1999 10:48:24 +0100 (MET) [thread overview]
Message-ID: <199903100948.KAA16237@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Andrej Borsenkow's message of Tue, 9 Mar 1999 20:00:04 +0300 (MSK)
borsenkow.msk@sni.de wrote:
> Trivial addition.
>
> --- Completion/Builtins/_bindkey Tue Mar 9 16:26:35 1999
> +++ /home/bor/.zsh.d/Completion/Builtins/_bindkey Tue Mar 9 19:55:36 1999
> @@ -3,5 +3,5 @@
> if [[ "$words[2]" = -*[DAN]* || "$words[CURRENT-1]" = -*M ]]; then
> compgen -s '$(bindkey -l)'
> else
> - compgen -b
> + compgen -b -M 'r:|-=* r:|=*'
> fi
I'd like to ask anyone if we should really do things like this.
Personally I would prefer to let the user use the global match
specs for things like this as otherwise the behavor might be somewhat
unexpected.
Note, this is just a question, I'm not saying that we shouldn't do
it. With the global match specs I have, I get this behavior anyway and
I even added something like that in `_long_options' to make Andrej
happy. Im just not sure...
Bye
Sven
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
next reply other threads:[~1999-03-10 9:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-03-10 9:48 Sven Wischnowsky [this message]
1999-03-10 10:10 ` Peter Stephenson
-- strict thread matches above, loose matches on Subject: below --
1999-03-09 17:00 Andrej Borsenkow
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=199903100948.KAA16237@beta.informatik.hu-berlin.de \
--to=wischnow@informatik.hu-berlin.de \
--cc=zsh-workers@sunsite.auc.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).