From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18753 invoked from network); 26 Mar 2001 04:34:20 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 26 Mar 2001 04:34:20 -0000 Received: (qmail 12798 invoked by alias); 26 Mar 2001 04:34:11 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13761 Received: (qmail 12786 invoked from network); 26 Mar 2001 04:34:10 -0000 From: "Bart Schaefer" Message-Id: <1010326043355.ZM11955@candle.brasslantern.com> Date: Mon, 26 Mar 2001 04:33:54 +0000 In-Reply-To: <3ABE0E39.B74CAB72@u.genie.co.uk> Comments: In reply to Oliver Kiddle "Re: Moving completion functions" (Mar 25, 4:26pm) References: <3ABA72A9.EB9C68FC@u.genie.co.uk> <010322162918.ZM21205@candle.brasslantern.com> <3ABE0E39.B74CAB72@u.genie.co.uk> X-Mailer: Z-Mail (5.0.0 30July97) To: Zsh workers Subject: Re: Moving completion functions MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii (Gotta find some more zsh-workers in my timezone. Half the time I feel like I'm talking to myself. "... and the award for the most consecutive messages to zsh-workers, none intercepted, goes to ...") On Mar 25, 4:26pm, Oliver Kiddle wrote: } Subject: Re: Moving completion functions } } Bart wrote: } > I'd actually rather split compctl-examples up into smaller files and put } > them all in Functions/Compctl, but I suppose we're trying to discourage } > use of compctl ... } } That's not a bad idea. They'd be out of the way in the Compctl directory } so I don't think it would be too much of an encouragement. Unfortunately, thinking about it a bit more, most of compctl-examples is not functions but compctl commands. Unlike the new completion system, there's no convenient way to autoload them, so putting them under the Functions directory doesn't make as much sense. Unless ... I just had a wonderful, awful idea ... one could use `compctl -T' to call a function, which runs an autoloaded function, which defines a compctl, which is then called because the -T attempt didn't generate a match ... Oh, dear. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net