From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16429 invoked from network); 25 Jun 2007 20:59:24 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.1 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 25 Jun 2007 20:59:24 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 51650 invoked from network); 25 Jun 2007 20:59:18 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 25 Jun 2007 20:59:18 -0000 Received: (qmail 9218 invoked by alias); 25 Jun 2007 20:59:15 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23603 Received: (qmail 9207 invoked from network); 25 Jun 2007 20:59:13 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 25 Jun 2007 20:59:13 -0000 Received: (qmail 51277 invoked from network); 25 Jun 2007 20:59:13 -0000 Received: from mtaout01-winn.ispmail.ntl.com (81.103.221.47) by a.mx.sunsite.dk with SMTP; 25 Jun 2007 20:59:08 -0000 Received: from aamtaout01-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout01-winn.ispmail.ntl.com with ESMTP id <20070625205907.NFRF12936.mtaout01-winn.ispmail.ntl.com@aamtaout01-winn.ispmail.ntl.com> for ; Mon, 25 Jun 2007 21:59:07 +0100 Received: from pws-pc.ntlworld.com ([81.107.45.67]) by aamtaout01-winn.ispmail.ntl.com with ESMTP id <20070625205907.BZCI219.aamtaout01-winn.ispmail.ntl.com@pws-pc.ntlworld.com> for ; Mon, 25 Jun 2007 21:59:07 +0100 Received: from pws-pc.ntlworld.com (pws-pc.ntlworld.com [127.0.0.1]) by pws-pc.ntlworld.com (8.13.8/8.13.8) with ESMTP id l5PKwDV7021537 for ; Mon, 25 Jun 2007 21:58:30 +0100 Message-Id: <200706252058.l5PKwDV7021537@pws-pc.ntlworld.com> From: Peter Stephenson To: zsh-workers@sunsite.dk (Zsh hackers list) Subject: Re: Removal of autoloads via module name only In-Reply-To: Message from Peter Stephenson of "Mon, 25 Jun 2007 21:18:13 BST." <200706252018.l5PKIDEw010946@pws-pc.ntlworld.com> Date: Mon, 25 Jun 2007 21:58:13 +0100 Peter Stephenson wrote: > zmodload allows you to say "zmodload -ab foo" which will mark buitin > "foo" to be autoloaded from module "foo". This has been useless for > zsh's own modules since we put them in the namespace zsh/...; none of > the four autoloadable features allow slashes and we don't do any > automatic mangling on module or feature names (nor do I think we > should). This isn't quite true, as I just discovered from a test in V01zmodload.ztst: alias -A example=zsh/example zmodload -ab example used to work. But I'm prepared to gloss over that if you are. -- Peter Stephenson Web page now at http://homepage.ntlworld.com/p.w.stephenson/