From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26634 invoked from network); 27 Oct 1999 16:40:10 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 27 Oct 1999 16:40:10 -0000 Received: (qmail 3530 invoked by alias); 27 Oct 1999 16:40:04 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8449 Received: (qmail 3504 invoked from network); 27 Oct 1999 16:40:02 -0000 From: "Bart Schaefer" Message-Id: <991027163903.ZM3690@candle.brasslantern.com> Date: Wed, 27 Oct 1999 16:39:03 +0000 In-Reply-To: <199910270842.KAA16188@beta.informatik.hu-berlin.de> Comments: In reply to Sven Wischnowsky "Re: PATCH: completion" (Oct 27, 10:42am) References: <199910270842.KAA16188@beta.informatik.hu-berlin.de> X-Mailer: Z-Mail (5.0.0 30July97) To: Sven Wischnowsky , zsh-workers@sunsite.auc.dk Subject: Re: PATCH: completion MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Oct 27, 10:42am, Sven Wischnowsky wrote: } Subject: Re: PATCH: completion } } No, the output of `functions' isn't changed (of course). Oh, I thought you said it was. You meant the value of $functions, then? That's not so bad, but you could still get unexpected effects. } > } If you load the parameter module in your `.zshrc', you'll notice that } > } `compinit' now loads `parameter' and `zleparameter'. Without `compgen' } > } we need it in too many places to get away without it. And now the same } > } question as for the `computil' module: should we make them be } > } automatically autoloaded (and linked in for static shells) } > } > Yes! If the stock set of completion functions are useless without them, } > they have to be linked into static shells. However, it would be nice if } > they weren't actually "loaded" in the zmodload sense until they were } > needed, even in a static shell. That's going to require some changes to } > the way zmodload and static modules work. } } Right. Hadn't thought about that either. But in a fully static shell, } wouldn't it a bit surprising when, for example, parameters just appear } because they are used (because they were `autoloaded')? That's what I meant about "require some changes to the way zmodload and static modules work." Basically, I want the modules linked in, but not initialized until an actual "zmodload" is attempted on them. This is not the same as the current auto-autoloading. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com