From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21878 invoked from network); 7 Feb 2009 15:45:46 -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; 7 Feb 2009 15:45:46 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 9487 invoked from network); 7 Feb 2009 15:45:37 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 7 Feb 2009 15:45:37 -0000 Received: (qmail 10105 invoked by alias); 7 Feb 2009 15:45:32 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26530 Received: (qmail 10094 invoked from network); 7 Feb 2009 15:45:31 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 7 Feb 2009 15:45:31 -0000 Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by bifrost.dotsrc.org (Postfix) with ESMTP id 4793B80271F0 for ; Sat, 7 Feb 2009 16:45:26 +0100 (CET) Received: by fg-out-1718.google.com with SMTP id l26so713672fgb.37 for ; Sat, 07 Feb 2009 07:45:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=Jir8zAgvJ3Md2HeH5cqVfcBCNBibHKMLZZTIN7iOYXk=; b=WVvcDMeNkYT+EQer6qrkfatI3fIHtIb/aAPS+PAnfH6i7IezWjZ3+cg2RrU0OHorNd zyPdtEztxsE9KHsGcGxoS5yas5pIvCjzGMVaSGEwrIMoz+V+tkRKVmNGWJtn45ZW8snO g7P+N5dPFWMRoN5KwX5MFhhbMQqM6SI1YRBYU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:message-id; b=wp5Zr5+r53cWEc78LgRVxQqMcFURJ83hXgUcAAsOsRy5qzFNPcQFvF7hWlzm6Sp5P6 lH5vgJ20PiUuWIuZn3fDxfrhFQcC2+v1As1X3bDNDSz81voIBfofAgiNCZFbVi4GphvD GUYofYmgN/RJKa8xDLAkLyWclYnM7j3uOi/K4= Received: by 10.86.30.9 with SMTP id d9mr300137fgd.75.1234021525957; Sat, 07 Feb 2009 07:45:25 -0800 (PST) Received: from cooker.localnet (ppp91-77-130-155.pppoe.mtu-net.ru [91.77.130.155]) by mx.google.com with ESMTPS id e20sm5116572fga.46.2009.02.07.07.45.23 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 07 Feb 2009 07:45:24 -0800 (PST) From: Andrey Borzenkov To: zsh-workers@sunsite.dk Subject: Re: sourcing a sh file in zsh Date: Sat, 7 Feb 2009 18:45:17 +0300 User-Agent: KMail/1.11.0 (Linux/2.6.29-rc3-1avb; KDE/4.2.0; i686; ; ) References: <200901261949.54010.arvidjaar@gmail.com> <090129202501.ZM21284@torch.brasslantern.com> In-Reply-To: <090129202501.ZM21284@torch.brasslantern.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1291161.K6BDpgdYYj"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200902071845.18648.arvidjaar@gmail.com> X-Virus-Scanned: ClamAV 0.92.1/8963/Sat Feb 7 06:53:02 2009 on bifrost X-Virus-Status: Clean --nextPart1291161.K6BDpgdYYj Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline On 30 of January 2009 07:25:01 Bart Schaefer wrote: > > However, I do think that (if the implementation remains as-is) the > documentation needs to be clearer that the *entire* setopt context is > restored. Currently it says only that "Emulation will be restored". Like this? Index: Doc/Zsh/builtins.yo =================================================================== RCS file: /cvsroot/zsh/zsh/Doc/Zsh/builtins.yo,v retrieving revision 1.117 diff -u -p -r1.117 builtins.yo --- Doc/Zsh/builtins.yo 6 Feb 2009 11:03:29 -0000 1.117 +++ Doc/Zsh/builtins.yo 7 Feb 2009 15:41:40 -0000 @@ -357,7 +357,8 @@ noderef(Compatibility) . If tt(-c) tt(arg) is given, evaluate tt(arg) after temporary setting -requested emulation. Emulation will be restored before tt(emulate) returns. +requested emulation. Emulation and all options will be restored to their +original values before tt(emulate) returns. If the tt(-R) option is given, all options are reset to their default value corresponding to the specified emulation --nextPart1291161.K6BDpgdYYj Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkmNrI4ACgkQR6LMutpd94x6pACdFNp40ZL9ZliUkmWk0xaMyWlP fOQAn2oUyTVJd8uqMTqftrFyeCiSSHTn =iFD/ -----END PGP SIGNATURE----- --nextPart1291161.K6BDpgdYYj--