From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2219 invoked by alias); 29 Apr 2013 06:25:42 -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: 17793 Received: (qmail 10762 invoked from network); 29 Apr 2013 06:25:40 -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: <130428232533.ZM14841@torch.brasslantern.com> Date: Sun, 28 Apr 2013 23:25:33 -0700 In-reply-to: Comments: In reply to Russell Harmon "Re: Augmenting a Sticky Emulation Mode" (Apr 28, 10:44pm) References: <130426180127.ZM18989@torch.brasslantern.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: Russell Harmon Subject: Re: Augmenting a Sticky Emulation Mode Cc: zsh-users@zsh.org MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Apr 28, 10:44pm, Russell Harmon wrote: } } I'm also a little confused here. } } emulate -R sh -o noshglob -c 'foo() {; setopt; }'; foo } enables MAIL_WARNING while } emulate -R sh -o shglob -c 'foo() {; setopt; }'; foo } fails to enable shglob This and the crash you reported make me think you have a bad compile; at least some of of your modules have the wrong mapping for symbolic constants that represent options. If you built zsh yourself, I suggest a clean compile; if it's a system package, please report the error to the package maintainer ASAP. -- Barton E. Schaefer