From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24912 invoked from network); 28 Sep 2005 15:19:04 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 28 Sep 2005 15:19:04 -0000 Received: (qmail 76798 invoked from network); 28 Sep 2005 15:18:57 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 28 Sep 2005 15:18:57 -0000 Received: (qmail 15707 invoked by alias); 28 Sep 2005 15:18:50 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9456 Received: (qmail 15698 invoked from network); 28 Sep 2005 15:18:50 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 28 Sep 2005 15:18:50 -0000 Received: (qmail 75858 invoked from network); 28 Sep 2005 15:18:50 -0000 Received: from vms046pub.verizon.net (206.46.252.46) by a.mx.sunsite.dk with SMTP; 28 Sep 2005 15:18:48 -0000 Received: from candle.brasslantern.com ([71.116.81.225]) by vms046.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0INJ00HUV97AV534@vms046.mailsrvcs.net> for zsh-users@sunsite.dk; Wed, 28 Sep 2005 10:18:47 -0500 (CDT) Received: from candle.brasslantern.com (IDENT:schaefer@localhost [127.0.0.1]) by candle.brasslantern.com (8.12.11/8.12.11) with ESMTP id j8SFIkHt024329 for ; Wed, 28 Sep 2005 08:18:46 -0700 Received: (from schaefer@localhost) by candle.brasslantern.com (8.12.11/8.12.11/Submit) id j8SFIjvh024328 for zsh-users@sunsite.dk; Wed, 28 Sep 2005 08:18:45 -0700 Date: Wed, 28 Sep 2005 15:18:45 +0000 From: Bart Schaefer Subject: Re: About zsh-users 8489 (exception handling) In-reply-to: <20050928084345.GB1384@DervishD> To: Zsh Users Message-id: <1050928151845.ZM24327@candle.brasslantern.com> MIME-version: 1.0 X-Mailer: Z-Mail (5.0.0 30July97) Content-type: text/plain; charset=us-ascii References: <20050927234726.GC988@DervishD> <1050928024249.ZM23758@candle.brasslantern.com> <20050928084345.GB1384@DervishD> Comments: In reply to DervishD "Re: About zsh-users 8489 (exception handling)" (Sep 28, 10:43am) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.4 On Sep 28, 10:43am, DervishD wrote: } } > I think EXCEPTION should also be declared with "typeset -g" } } But the function will work correctly even without "typeset -g", } wouldn't it? Yes. It's just making it obvious that a "local" was not forgotten. } Wouldn't be needed "typeset -g" in "catch" too for the } CAUGHT parameter? I'd probably put one there, yes. I hadn't looked again at "catch".