From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27111 invoked by alias); 29 Apr 2013 18:48:08 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 31360 Received: (qmail 11372 invoked from network); 29 Apr 2013 18:48:02 -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=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at closedmail.com does not designate permitted sender hosts) From: Bart Schaefer Message-id: <130429114756.ZM16140@torch.brasslantern.com> Date: Mon, 29 Apr 2013 11:47:56 -0700 In-reply-to: <130429111141.ZM16086@torch.brasslantern.com> Comments: In reply to Bart Schaefer "Re: Augmenting a Sticky Emulation Mode" (Apr 29, 11:11am) References: <130426180127.ZM18989@torch.brasslantern.com> <20130429094700.6c8db4a9@pwslap01u.europe.root.pri> <130429111141.ZM16086@torch.brasslantern.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: Russell Harmon , zsh-workers@zsh.org Subject: Re: Augmenting a Sticky Emulation Mode MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Apr 29, 11:11am, Bart Schaefer wrote: } Subject: Re: Augmenting a Sticky Emulation Mode } } [Re-routing to -workers] } } Hmm, this may be a real bug. I don't see exactly this with a fresh } build on MacOS, but I do see something a little funny. OK, I found the problem, but I don't know what to do to fix it. It's the "no" prefix. macadamia<506> emulate -R sh -o noshglob -c 'foo() { setopt; }'; foo interactive longlistjobs monitor shinstdin macadamia<509> emulate -R sh +o shglob -c 'foo() { setopt; }'; foo interactive monitor noshglob shinstdin The -o option to emulate doesn't know how to invert an option when the "no" is put in front of it, and ends up treating it as the positive of something else, probably garbage in the data structure.