From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9713 invoked from network); 21 Jun 2006 01:09:48 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO,HTML_40_50,HTML_MESSAGE autolearn=ham version=3.1.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 21 Jun 2006 01:09:48 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 13150 invoked from network); 21 Jun 2006 01:09:37 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 21 Jun 2006 01:09:37 -0000 Received: (qmail 22799 invoked by alias); 21 Jun 2006 01:09:29 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10402 Received: (qmail 22789 invoked from network); 21 Jun 2006 01:09:28 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 21 Jun 2006 01:09:28 -0000 Received: (qmail 12099 invoked from network); 21 Jun 2006 01:09:28 -0000 Received: from nf-out-0910.google.com (64.233.182.189) by a.mx.sunsite.dk with SMTP; 21 Jun 2006 01:09:26 -0000 Received: by nf-out-0910.google.com with SMTP id q29so23332nfc for ; Tue, 20 Jun 2006 18:09:26 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=nDzf55zyIYXkYPWRsW8QE0oIdFZocoJRWflq+1nXoZ0YsS28QOmnRH2nDeH25heBfr20zQHJdhh3fGrMmIAcxj1OlOjX/Q0XBIGxrFCzdPYDlAB+KBBomJbKI4lxxQuI4ebnVhk9W8lmVv5sr+WD40MOcTiUuq1sfcF931n9MwY= Received: by 10.48.144.19 with SMTP id r19mr56876nfd; Tue, 20 Jun 2006 18:09:26 -0700 (PDT) Received: by 10.49.64.19 with HTTP; Tue, 20 Jun 2006 18:09:26 -0700 (PDT) Message-ID: <7c737f300606201809u58491161l2354c9e857b9e7e0@mail.gmail.com> Date: Tue, 20 Jun 2006 18:09:26 -0700 From: "Deliverable Mail" To: zsh-users@sunsite.dk Subject: Re: Writing Zsh "libraries" In-Reply-To: <200606200936.k5K9aKiX006265@news01.csr.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_149882_31970770.1150852166326" References: <200606200936.k5K9aKiX006265@news01.csr.com> ------=_Part_149882_31970770.1150852166326 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Can it become standardized behavior then? Cheers, Alexy On 6/20/06, Peter Stephenson wrote: > > "Nikolai Weibull" wrote: > > autoload -U zap/init > > > > Then I simply call the function as "zap/init" ($ZDOTDIR/functions is > > in my $fpath as well). > > > > This works and seems to be quite a nice way to handle namespacing, but > > perhaps I'm missing something vital here. > > > > Any comments? > > I don't suppose anyone intended this to work, but the handling of paths > internally is generally fairly straightforward, so there's no reason why > you shouldn't use it if it works. > > -- > Peter Stephenson Software Engineer > CSR PLC, Churchill House, Cambridge Business Park, Cowley Road > Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070 > > > To access the latest news from CSR copy this link into a web browser: > http://www.csr.com/email_sig.php > ------=_Part_149882_31970770.1150852166326 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Can it become standardized behavior then?
 
Cheers,
Alexy

 
On 6/20/06, Peter Stephenson <pws@csr.com> wrote:
"Nikolai Weibull" wrote:
> autoload -U zap/init
>
> Then I simply call the function as "zap/init" ($ZDOTDIR/functions is
> in my $fpath as well).
>
> This works and seems to be quite a nice way to handle namespacing, but
> perhaps I'm missing something vital here.
>
> Any comments?

I don't suppose anyone intended this to work, but the handling of paths
internally is generally fairly straightforward, so there's no reason why
you shouldn't use it if it works.

--
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


To access the latest news from CSR copy this link into a web browser:   http://www.csr.com/email_sig.php

------=_Part_149882_31970770.1150852166326--