From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26296 invoked from network); 8 May 2002 15:35:00 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 8 May 2002 15:35:00 -0000 Received: (qmail 4935 invoked by alias); 8 May 2002 15:34:47 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 17096 Received: (qmail 4921 invoked from network); 8 May 2002 15:34:45 -0000 From: "Bart Schaefer" Message-Id: <1020508153433.ZM7830@candle.brasslantern.com> Date: Wed, 8 May 2002 15:34:33 +0000 In-Reply-To: <21268.1020864404@csr.com> Comments: In reply to Peter Stephenson "Re: PATCH: zselect builtin." (May 8, 2:26pm) References: <21268.1020864404@csr.com> X-Mailer: Z-Mail (5.0.0 30July97) To: Peter Stephenson , zsh-workers@sunsite.dk (Zsh hackers list) Subject: Module loading by name (Re: PATCH: zselect builtin.) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On May 8, 2:26pm, Peter Stephenson wrote: } } Another note: the zmodload manual page is written to imply that having a } module name the same as a builtin, or other autoloadable entity, is } useful. As far as I can see, this is never the case now, due to the } hierarchical naming. I can create my own local modules that ignore the hierarchical naming, and use it for that. The "zsh/" hierarchy was only supposed to be for modules that were distributed as part of the zsh sources, after all, and the whole point of hierarchical naming was so that people could create other modules that weren't part of the distribution. } It might be better to remove this feature or at } least add implied aliasing into the zsh/* name segment when there's only } one argument. I actually use flat module names on a daily basis; implicit aliasing into the zsh hierarchy would break it. I use flat names when running the zsh binary out of a dynamically linked build tree, where the modules are not yet relocated into a single zsh/ subdirectory and instead I have to point the module_path at the individual module directories in order to find the shared objects. } (You can add module aliases by hand, but it takes away } the point of the shortcut.) I have no objection to removing the autoloading shortcut, but NOT by having the names automatically aliased into the zsh/ hierarchy. -- 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