Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: sourcing a sh file in zsh
- X-seq: zsh-workers 26530
- From: Andrey Borzenkov <arvidjaar@xxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: sourcing a sh file in zsh
- Date: Sat, 7 Feb 2009 18:45:17 +0300
- 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=
- In-reply-to: <090129202501.ZM21284@xxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <BD9D2405-AD6A-4336-9C8A-85149165B6B8@xxxxxxxxx> <200901261949.54010.arvidjaar@xxxxxxxxx> <090129202501.ZM21284@xxxxxxxxxxxxxxxxxxxxxx>
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
Attachment:
signature.asc
Description: This is a digitally signed message part.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author