From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5328 invoked by alias); 26 Apr 2013 21:41:08 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 17789 Received: (qmail 5977 invoked from network); 26 Apr 2013 21:41:06 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HTML_MESSAGE,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.223.174 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:sender:from:date:x-google-sender-auth :message-id:subject:to:content-type; bh=DU43XM81UlJenxtwLSEncqw1tyqmSEZsPLrC+kZH64I=; b=rPmZbUoC5EcPGcaBlDWsdFSso+MOY24TqEiNf1E/QtGirHEZ/iRoFbeCY8SLzMke3M j4KVjF/Et+gJ9q+UXCTinDfef+RC/Zv5WBHfZADW9kZ9+iQzQmhJUVHkNQTTGJRXi4zR eY5cApl+ECFON8vqsvGNL3nqCnvtbksYpfHbUtb4e0ayibHkkKB+NBDeIYCyxXc+lqfq DfbqatLabD8seP9bh7zDDbSnfn2gz7sAl6tv4gQQnNSKCfs7fsNFx40qoAkMk40HberH Bb8elLwW2Ce+hQNdz5S9dQKH4z74ZCG/DwDq1cwm1IAtTT4wcbFvJKOAtz3KtKjoW+Qe xjjw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eatnumber1.com; s=google; h=x-received:mime-version:sender:from:date:x-google-sender-auth :message-id:subject:to:content-type; bh=DU43XM81UlJenxtwLSEncqw1tyqmSEZsPLrC+kZH64I=; b=LD5EdwBf+jzv5ORLmxDnK+LDFvSrKfrCg7F210tLzfC5OoG4MzCVW7StuPa0wSUI9q jw83klqPamH2yQEACLrwTQQQ1/eVBaLKci4pfU6SEKaAiJuVVVhygwkUMiOyEnhC8dQt Wd3L1KkjMvEWALpjsGw48oQFM82l9r+I8HhEA= X-Received: by 10.50.28.75 with SMTP id z11mr2935632igg.37.1367012458985; Fri, 26 Apr 2013 14:40:58 -0700 (PDT) MIME-Version: 1.0 Sender: eatnumber1@gmail.com From: Russell Harmon Date: Fri, 26 Apr 2013 14:40:38 -0700 X-Google-Sender-Auth: oTXGZTM6_O4nwC6Lwpbvc-WhDq4 Message-ID: Subject: Augmenting a Sticky Emulation Mode To: zsh-users@zsh.org Content-Type: multipart/alternative; boundary=089e0158b14405cd8604db4a6495 --089e0158b14405cd8604db4a6495 Content-Type: text/plain; charset=UTF-8 Is it possible to augment a sticky emulation mode with additional options? Specifically, I'd like the something like the following to return zero: emulate -R sh -c 'setopt kshglob; function foo() {; setopt; }'; foo | grep kshglob -- Russell Harmon --089e0158b14405cd8604db4a6495--