From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13874 invoked from network); 22 Apr 2009 08:30:26 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 22 Apr 2009 08:30:26 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 88989 invoked from network); 22 Apr 2009 08:30:11 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 22 Apr 2009 08:30:11 -0000 Received: (qmail 7394 invoked by alias); 22 Apr 2009 08:29:49 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 14057 Received: (qmail 7372 invoked from network); 22 Apr 2009 08:29:48 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 22 Apr 2009 08:29:48 -0000 Received: from cluster-g.mailcontrol.com (cluster-g.mailcontrol.com [208.87.233.190]) by bifrost.dotsrc.org (Postfix) with ESMTPS id 5426B8028C72 for ; Wed, 22 Apr 2009 10:28:41 +0200 (CEST) Received: from cameurexb01.EUROPE.ROOT.PRI ([193.128.72.68]) by rly24g.srv.mailcontrol.com (MailControl) with ESMTP id n3M8TgGY026063 for ; Wed, 22 Apr 2009 09:29:42 +0100 Received: from news01 ([10.99.50.25]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.3959); Wed, 22 Apr 2009 09:29:41 +0100 Date: Wed, 22 Apr 2009 09:29:41 +0100 From: Peter Stephenson To: zsh-users@sunsite.dk Subject: Re: Suggestion: Allow whence to report path(s) for autoloaded functions Message-ID: <20090422092941.728a03eb@news01> In-Reply-To: References: Organization: CSR X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.8; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 22 Apr 2009 08:29:41.0915 (UTC) FILETIME=[7BBF66B0:01C9C324] X-Scanned-By: MailControl A_08_51_00 (www.mailcontrol.com) on 10.71.0.134 X-Virus-Scanned: ClamAV 0.92.1/9270/Wed Apr 22 03:52:37 2009 on bifrost X-Virus-Status: Clean On Tue, 21 Apr 2009 14:14:09 -0700 Ian Tegebo wrote: > Given a function name, I'm finding it useful to know where it's > located within fpath: There's a standard trick for this: print $^fpath/_MYFUNC(N) > (BTW, is zsh-workers@ more appropriate for discussing changes to builtins?) Probably, although it's often borderline. -- Peter Stephenson Software Engineer CSR PLC, Churchill House, Cambridge Business Park, Cowley Road Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070