From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12695 invoked from network); 11 Aug 2008 14:01:24 -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; 11 Aug 2008 14:01:24 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 16824 invoked from network); 11 Aug 2008 14:00:42 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 11 Aug 2008 14:00:42 -0000 Received: (qmail 22264 invoked by alias); 11 Aug 2008 14:00:31 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25432 Received: (qmail 22150 invoked from network); 11 Aug 2008 14:00:26 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 11 Aug 2008 14:00:26 -0000 Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.225]) by bifrost.dotsrc.org (Postfix) with ESMTP id DDF5E809A180 for ; Mon, 11 Aug 2008 16:00:22 +0200 (CEST) Received: by wr-out-0506.google.com with SMTP id 50so1533843wra.13 for ; Mon, 11 Aug 2008 07:00:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=784U7ZkUhubsqBKeDULSgg8VGdYHqa6i6Qc58MyLBQQ=; b=auxZRVf19r2jSuJLDvYcvjvHKh7eeqIZLLGtPJhRw+1hBCM0rsZ1ID9rB9SmgtSF1e 8G5NwkYFGaUMsGq/LIvWIrWT11C12tBX0thiAWm7GnEKckoIQ6rJRNvG23b+NHEsdh6C lSYiGw1A3rJaEtbHxZXAWSOS9LgwhLpBlUYaM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=eDUZ3PUKAdZuMKdEf5j3K05th4JOBmA2XKwACvHRj0I6WT7P7TX7Wo5D4I5zc6NEGP DHFNtnIv9otTbKdRmRMmOowbLUotp9AE3QUMUZW51aladA4bD5ALU24ouLD78Vo2vBBG FyY611Rcx6mGf5GWWw62K5cd/YWmiU7LgGPL0= Received: by 10.90.31.8 with SMTP id e8mr10697582age.1.1218463221885; Mon, 11 Aug 2008 07:00:21 -0700 (PDT) Received: by 10.100.43.19 with HTTP; Mon, 11 Aug 2008 07:00:21 -0700 (PDT) Message-ID: <2d460de70808110700x1dcd6460i94327cbf0315f17a@mail.gmail.com> Date: Mon, 11 Aug 2008 16:00:21 +0200 From: "Richard Hartmann" To: "Peter Stephenson" Subject: Re: Getting source file and line number of a function. Cc: zsh-workers@sunsite.dk In-Reply-To: <20080809192111.7213e919@pws-pc> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6cd6de210807261806r7ff184fdtcc7859cca0a98aef@mail.gmail.com> <200807280834.m6S8YEVo026326@news01.csr.com> <6cd6de210807280546k14a1a59fo40cb6ed968b1227b@mail.gmail.com> <20080809192111.7213e919@pws-pc> X-Virus-Scanned: ClamAV 0.92.1/8005/Mon Aug 11 13:39:24 2008 on bifrost X-Virus-Status: Clean On Sat, Aug 9, 2008 at 20:21, Peter Stephenson wrote: [stuff about $funcfiletrace] This just gave me an idea: Why not enhance `whence` so it is able to tell in what file and starting on what line a function has been defined? Richard