From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6906 invoked from network); 13 Sep 1999 13:57:18 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 13 Sep 1999 13:57:18 -0000 Received: (qmail 18052 invoked by alias); 13 Sep 1999 13:57:08 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7805 Received: (qmail 18045 invoked from network); 13 Sep 1999 13:57:07 -0000 To: zsh-workers@sunsite.auc.dk Subject: Re: Silly questions about _arguments & Co (and probably bugs) References: <199909131156.NAA21019@beta.informatik.hu-berlin.de> 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: 13 Sep 1999 22:57:04 +0900 In-Reply-To: Sven Wischnowsky's message of "Mon, 13 Sep 1999 13:56:58 +0200 (MET DST)" 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) In article <199909131156.NAA21019@beta.informatik.hu-berlin.de>, Sven Wischnowsky writes: > Almost. There were two problems: with single-letter options > PREFIX/SUFFIX weren't cleared before `_display' was called (so that > (almost) no option matched) and the return value of `_display' wasn't > used to find out that `_arguments' should create the list itself. I found another problem. Z:akr@is27e1u11% Src/zsh -f 2>z is27e1u11% bindkey -e; fpath=($PWD/Completion/*(/)); autoload -U compinit; compinit -D; compdef _tst tst is27e1u11% compconf group_matches=yes message_format='%d' description_format='%d' describe_options=yes is27e1u11% patch -l option -B -D -E -F -N -R -S -T -V -Y -Z -b -d -z Completion candidates are not enough. With `set -x', zsh reports: ... +_arguments:680> uns=-ignore-whitespacel ... Hm. Exclusive long options should not used for `uns'. -- Tanaka Akira