From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1644 invoked from network); 27 Jan 2009 15:23:13 -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.5 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; 27 Jan 2009 15:23:13 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 7521 invoked from network); 27 Jan 2009 15:23:06 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 27 Jan 2009 15:23:06 -0000 Received: (qmail 28357 invoked by alias); 27 Jan 2009 15:23:02 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26460 Received: (qmail 28340 invoked from network); 27 Jan 2009 15:23:01 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 27 Jan 2009 15:23:01 -0000 Received: from vms173003pub.verizon.net (vms173003pub.verizon.net [206.46.173.3]) by bifrost.dotsrc.org (Postfix) with ESMTP id 0D8A380271F0 for ; Tue, 27 Jan 2009 16:22:57 +0100 (CET) Received: from torch.brasslantern.com ([96.238.220.215]) by vms173003.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0KE400IULYPKQ6M1@vms173003.mailsrvcs.net> for zsh-workers@sunsite.dk; Tue, 27 Jan 2009 09:22:37 -0600 (CST) Received: from torch.brasslantern.com (localhost.localdomain [127.0.0.1]) by torch.brasslantern.com (8.13.1/8.13.1) with ESMTP id n0RFMVTi020101 for ; Tue, 27 Jan 2009 07:22:32 -0800 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id n0RFMUPU020100 for zsh-workers@sunsite.dk; Tue, 27 Jan 2009 07:22:30 -0800 Date: Tue, 27 Jan 2009 07:22:30 -0800 From: Bart Schaefer Subject: Re: sourcing a sh file in zsh In-reply-to: <200901271016.n0RAGYX2016903@news01.csr.com> To: zsh-workers@sunsite.dk Message-id: <090127072230.ZM20099@torch.brasslantern.com> MIME-version: 1.0 X-Mailer: OpenZMail Classic (0.9.2 24April2005) Content-type: text/plain; charset=us-ascii References: <200901161939.54651.arvidjaar@newmail.ru> <090116102934.ZM22119@torch.brasslantern.com> <200901241859.30029.arvidjaar@gmail.com> <20090124173836.64403fdc@pws-pc> <090124152643.ZM24163@torch.brasslantern.com> <20090125213946.4c868e74@pws-pc> <20090126061819.GB54012@redoubt.spodhuis.org> <20090126122104.0e3013ba@news01> <20090126231630.GB18017@redoubt.spodhuis.org> <200901270950.n0R9oijQ016648@news01.csr.com> <200901271016.n0RAGYX2016903@news01.csr.com> Comments: In reply to Peter Stephenson "Re: sourcing a sh file in zsh" (Jan 27, 10:16am) X-Virus-Scanned: ClamAV 0.92.1/8910/Tue Jan 27 15:30:53 2009 on bifrost X-Virus-Status: Clean On Jan 27, 10:16am, Peter Stephenson wrote: } } I wasn't very clear about what I *do* think it should do: that is } simply set and restore options for the new use of emulate, and } do exactly the same for functions marked for emulate behaviour. } (Detecting when to set and when to use the emulate marking for } functions is a bit more subtle.) I agree with this, for what that's worth.