From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5764 invoked from network); 4 May 2000 15:40:09 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 4 May 2000 15:40:09 -0000 Received: (qmail 9122 invoked by alias); 4 May 2000 15:39:44 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11159 Received: (qmail 9003 invoked from network); 4 May 2000 15:39:39 -0000 Date: Thu, 4 May 2000 17:39:35 +0200 (MET DST) Message-Id: <200005041539.RAA14632@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: Tanaka Akira's message of 05 May 2000 00:34:56 +0900 Subject: Re: _requested problem? Tanaka Akira wrote: > Z(4):akr@serein% Src/zsh -f > serein% bindkey -e; autoload -U compinit; compinit -D; compdef _tst tst > serein% _tst () { > function> local expl ret=1 > function> _tags a b > function> while _tags; do > function while> _requested a expl aa compadd a && ret=0 > function while> _requested b expl bb compadd b && ret=0 > function while> (( $ret )) || break > function while> done > function> } > serein% zstyle :completion::complete:tst:: tag-order a > serein% tst b > > I think this should complete `bb' but it doesn't. It should complete `b' and... > Is this fix correct? ... yes, this is correct. Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de