From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21126 invoked from network); 3 Feb 2000 19:14:15 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 3 Feb 2000 19:14:15 -0000 Received: (qmail 10060 invoked by alias); 3 Feb 2000 19:14:10 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9552 Received: (qmail 10052 invoked from network); 3 Feb 2000 19:14:09 -0000 To: zsh-workers@sunsite.auc.dk Subject: _arguments problems MIME-Version: 1.0 (generated by AKEMI 1.13.2 - =?ISO-2022-JP?B?Ig==?= =?ISO-2022-JP?B?GyRCQTA0Y0s8GyhCIg==?=) Content-Type: text/plain; charset=US-ASCII From: Tanaka Akira Date: 04 Feb 2000 04:14:06 +0900 Message-ID: User-Agent: Chao-gnus/6.12.5 AKEMI/1.13.2 (=?ISO-2022-JP?B?GyRCQTAbKEI=?= =?ISO-2022-JP?B?GyRCNGNLPBsoQg==?=) FLAM-DOODLE/1.12.6 (=?ISO-2022-JP?B?GyRCM3cbKEI=?= 10R4.0/5.0) Emacs/20.4 (sparc-sun-solaris2.6) MULE/4.0 (HANANOEN) Z:akr@is27e1u11% Src/zsh -f is27e1u11% bindkey -e; autoload -U compinit; compinit -D; compdef _tst tst is27e1u11% _tst () { _arguments "1:desc1:(arg1)" } is27e1u11% tst This completes nothing but it should completes `arg1'. is27e1u11% _tst () { _arguments '-a' '*::rest:_tst2' } is27e1u11% _tst2 () { compadd - '-b' } is27e1u11% tst arg - -b -a This completes `-a' and `-b' but it shouldn't completes `-a'. -- Tanaka Akira