From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8683 invoked from network); 12 Aug 2008 20:28:14 -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.6 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; 12 Aug 2008 20:28:14 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 45918 invoked from network); 12 Aug 2008 20:28:06 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 12 Aug 2008 20:28:06 -0000 Received: (qmail 15248 invoked by alias); 12 Aug 2008 20:27:57 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25445 Received: (qmail 15230 invoked from network); 12 Aug 2008 20:27:54 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 12 Aug 2008 20:27:54 -0000 Received: from mtaout03-winn.ispmail.ntl.com (mtaout03-winn.ispmail.ntl.com [81.103.221.49]) by bifrost.dotsrc.org (Postfix) with ESMTP id 2574580F75A3 for ; Tue, 12 Aug 2008 22:27:40 +0200 (CEST) Received: from aamtaout03-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout03-winn.ispmail.ntl.com with ESMTP id <20080812202740.CQUK10791.mtaout03-winn.ispmail.ntl.com@aamtaout03-winn.ispmail.ntl.com> for ; Tue, 12 Aug 2008 21:27:40 +0100 Received: from pws-pc ([81.107.40.67]) by aamtaout03-winn.ispmail.ntl.com with ESMTP id <20080812202740.YWTY29597.aamtaout03-winn.ispmail.ntl.com@pws-pc> for ; Tue, 12 Aug 2008 21:27:40 +0100 Date: Tue, 12 Aug 2008 21:27:37 +0100 From: Peter Stephenson To: "Zsh hackers list" Subject: Re: PATCH: trace information for sourced files Message-ID: <20080812212737.1cbc432f@pws-pc> In-Reply-To: <6cd6de210808121258n5bd7b65fr225ea73e4dbfc0c5@mail.gmail.com> References: <8933.1218570362@pws-pc> <6cd6de210808121258n5bd7b65fr225ea73e4dbfc0c5@mail.gmail.com> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.92.1/8021/Tue Aug 12 21:27:39 2008 on bifrost X-Virus-Status: Clean On Tue, 12 Aug 2008 15:58:03 -0400 "Rocky Bernstein" wrote: > > I'm not sure what to put in $funcsourcetrace since there is no separate > > point of definition from that of the caller in this case. > > How about "source" or ".". Down the line one may want to record the > number of parameters passed, and here I note that zsh allows passing > parameters in a source command. OK, I've committed it so that the funcsourcetrace element shows up as "source:0". I had a look at providing the text for debug traps but it wasn't as trivial as I'd hoped so that may have to wait. -- Peter Stephenson Web page now at http://homepage.ntlworld.com/p.w.stephenson/