From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23599 invoked from network); 7 Sep 1999 23:22:48 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 7 Sep 1999 23:22:48 -0000 Received: (qmail 7971 invoked by alias); 7 Sep 1999 23:22:35 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7708 Received: (qmail 7964 invoked from network); 7 Sep 1999 23:22:34 -0000 To: zsh-workers@sunsite.auc.dk Subject: Re: PATCH: Completion/User/_cvs again. References: <990907210627.ZM8775@candle.brasslantern.com> 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: 08 Sep 1999 08:22:32 +0900 In-Reply-To: "Bart Schaefer"'s message of "Tue, 7 Sep 1999 21:06:27 +0000" 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 <990907210627.ZM8775@candle.brasslantern.com>, "Bart Schaefer" writes: > Aren't we already requiring the parameters modlue for some of the other > completion stuff? Would this be faster/cleaner/clearer as > > if ! (( $+functions[_cvs_command] )); then I didn't know parameter module. Hm, it's good. But, I think the module is not loaded by the completion stuff. Z(2):akr@is27e1u11% grep zmodload Completion/**/*(.) Completion/Builtins/CVS/Entries:/_zmodload/1.1.1.7/Thu Aug 19 15:41:03 1999// Completion/Builtins/_zmodload:#compdef zmodload Completion/Builtins/_zmodload: compadd "$expl[@]" - $(zmodload) Completion/Core/_main_complete:# if zmodload -e parameter; then Completion/Core/_normal: if zmodload -e parameter; then Completion/Core/_parameters: if zmodload -e parameter; then Completion/Core/_parameters: if zmodload -e parameter; then Completion/User/_cvs: ! { zmodload -e stat || zmodload stat }; then Z(2):akr@is27e1u11% Although some functions examine whether parameter module is exist, they doesn't try to load the module. -- Tanaka Akira