From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9152 invoked from network); 28 Aug 1999 06:02:00 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 28 Aug 1999 06:02:00 -0000 Received: (qmail 11055 invoked by alias); 28 Aug 1999 06:01:46 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7526 Received: (qmail 11048 invoked from network); 28 Aug 1999 06:01:45 -0000 To: zsh-workers@sunsite.auc.dk Subject: Re: PATCH: completion References: <199908270703.JAA16459@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: 28 Aug 1999 15:01:41 +0900 In-Reply-To: Tanaka Akira's message of "27 Aug 1999 17:29:26 +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) In article , Tanaka Akira writes: > Also, I modified cvs completion functions. I modified _cvs_history_x to show explanations. Then I found another _arguments problem. Z(2):akr@is27e1u11% ./Src/zsh -f is27e1u11% bindkey -e; fpath=($PWD/Completion/*(/)); autoload -U compinit; compinit -D; compdef _tst tst compconf message_format='%d' compconf description_format='%d' is27e1u11% compconf group_matches=yes is27e1u11% compconf message_format='%d' is27e1u11% compconf description_format='%d' is27e1u11% cvs history -x add editors logout unedit admin export rdiff update annotate history release watch checkout import remove watchers commit init rtag diff log status edit login tag option --allow-root= -H -e -s --help -Q -f -t --help-commands -T -l -v --help-options -a -n -w --help-synonyms -b -q -z --version -d -r is27e1u11% cvs history -e is27e1u11% cvs history -e vi is27e1u11% cvs history -e is27e1u11% cvs history -evi Hm. _arguments called from _cvs should not complete options after non-option arguments. Index: Completion/Cvs/_cvs_history_x =================================================================== RCS file: /projects/zsh/zsh/Completion/Cvs/_cvs_history_x,v retrieving revision 1.1.1.1 diff -u -F^( -r1.1.1.1 _cvs_history_x --- _cvs_history_x 1999/08/26 11:08:18 1.1.1.1 +++ _cvs_history_x 1999/08/28 05:50:39 @@ -2,4 +2,16 @@ compset -P '*' # It should describe meaning. -compadd F O E T C G U W A M R +compadd "$@" -y '( +F\ --\ release +O\ --\ checkout +E\ --\ export +T\ --\ rtag +C\ --\ merge\ collision-detected +G\ --\ merge\ succeed +U\ --\ working\ file\ was\ copied +W\ --\ working\ file\ was\ deleted +A\ --\ A\ file\ was\ added +M\ --\ A\ file\ was\ modified +R\ --\ A\ file\ was\ removed +)' F O E T C G U W A M R -- Tanaka Akira