From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1244 invoked from network); 10 Mar 1999 09:51:19 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 10 Mar 1999 09:51:19 -0000 Received: (qmail 28294 invoked by alias); 10 Mar 1999 09:50:30 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5728 Received: (qmail 28255 invoked from network); 10 Mar 1999 09:50:26 -0000 Date: Wed, 10 Mar 1999 10:48:24 +0100 (MET) Message-Id: <199903100948.KAA16237@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: Andrej Borsenkow's message of Tue, 9 Mar 1999 20:00:04 +0300 (MSK) Subject: Re: PATCH: zsh-3.1.5-pws-11: _bindkey 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