From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16186 invoked from network); 31 Jan 2009 23:24:52 -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; 31 Jan 2009 23:24:52 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 98775 invoked from network); 31 Jan 2009 23:24:47 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 31 Jan 2009 23:24:47 -0000 Received: (qmail 14364 invoked by alias); 31 Jan 2009 23:24:41 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26503 Received: (qmail 14354 invoked from network); 31 Jan 2009 23:24:41 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 31 Jan 2009 23:24:41 -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 31AEC802720F for ; Sun, 1 Feb 2009 00:24:28 +0100 (CET) Received: from aamtaout03-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout03-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20090131232427.LLRR7670.mtaout03-winn.ispmail.ntl.com@aamtaout03-winn.ispmail.ntl.com> for ; Sat, 31 Jan 2009 23:24:27 +0000 Received: from pws-pc.ntlworld.com ([81.107.42.185]) by aamtaout03-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20090131232401.RZMT2093.aamtaout03-winn.ispmail.ntl.com@pws-pc.ntlworld.com> for ; Sat, 31 Jan 2009 23:24:01 +0000 Received: from pws-pc (pws-pc [127.0.0.1]) by pws-pc.ntlworld.com (8.14.3/8.14.2) with ESMTP id n0VNNp0J007242 for ; Sat, 31 Jan 2009 23:23:51 GMT Message-Id: <200901312323.n0VNNp0J007242@pws-pc.ntlworld.com> From: Peter Stephenson To: zsh-workers@sunsite.dk Subject: Re: sourcing a sh file in zsh In-Reply-To: Message from Bart Schaefer of "Sat, 31 Jan 2009 13:39:52 PST." <090131133952.ZM7971@torch.brasslantern.com> Date: Sat, 31 Jan 2009 23:23:51 +0000 X-Cloudmark-Analysis: v=1.0 c=1 a=NLZqzBF-AAAA:8 a=b8IqduLYFF-dZb05NhsA:9 a=tJ9METsEtm-YaCFEg2UWs5FmlLAA:4 a=fUzIcyR-ki4A:10 X-Virus-Scanned: ClamAV 0.92.1/8931/Sat Jan 31 19:25:59 2009 on bifrost X-Virus-Status: Clean Bart Schaefer wrote: > If *every* function defined in the sourced file gets an implicit > LOCAL_OPTIONS by virtue of emulation stickyness I suppose this is the bone of contention. I just argued that you only get the effect of LOCAL_OPTIONS for a function if you weren't already in that sticky emulation when the function started---which is probably more useful, I think, giving you a more consistent emulation environment, but also needs a little more care. (Nobody is arguing we don't need care, I realise...) -- Peter Stephenson Web page now at http://homepage.ntlworld.com/p.w.stephenson/