From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6291 invoked by alias); 19 Nov 2017 20:00:53 -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: List-Unsubscribe: X-Seq: 42036 Received: (qmail 9384 invoked by uid 1010); 19 Nov 2017 20:00:53 -0000 X-Qmail-Scanner-Diagnostics: from know-smtprelay-omc-1.server.virginmedia.net by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(80.0.253.65):SA:0(-1.9/5.0):. Processed in 9.449415 secs); 19 Nov 2017 20:00:53 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS, T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: p.w.stephenson@ntlworld.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | X-Originating-IP: [86.21.219.59] X-Authenticated-User: p.w.stephenson@ntlworld.com X-Spam: 0 X-Authority: v=2.1 cv=UdSsM/mN c=1 sm=1 tr=0 a=utowdAHh8RITBM/6U1BPxA==:117 a=utowdAHh8RITBM/6U1BPxA==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=kj9zAlcOel0A:10 a=x7bEGLp0ZPQA:10 a=q2GGsy2AAAAA:8 a=__kpISutKj5o7e89LlcA:9 a=CjuIK1q_8ugA:10 a=z9dJwno5l634igLiVhy-:22 Date: Sun, 19 Nov 2017 19:53:37 +0000 From: Peter Stephenson To: "zsh-workers@zsh.org" Subject: Re: [PATCH] don't exit shell on [[ -o invalid@option ]] Message-ID: <20171119195337.0a09b303@ntlworld.com> In-Reply-To: References: <0d6faa9a-fb69-8343-9630-a60d8f1bee0a@inlv.org> <171110143717.ZM16244@torch.brasslantern.com> <20171111124528.035a70ac@ntlworld.com> <38275e86-81c7-dbf8-544e-b0a399a4461d@inlv.org> <171111151905.ZM20139@torch.brasslantern.com> <20171112195657.74fb0b8a@ntlworld.com> <20171114122619.kqa4i2sth66mafrs@tarpaulin.shahaf.local2> <20171114235249.egcynklamldfcogv@tarpaulin.shahaf.local2> <1511029379.709069.1176966800.1BF7416A@webmail.messagingengine.com> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.28; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ntlworld.com; s=meg.feb2017; t=1511121220; bh=bZjwmhGWJDDT3wbe8x3HfI9m1F/yCFQJKrRZxQeI0Xo=; h=Date:From:To:Subject:In-Reply-To:References; b=BA6RgaMQ8RsY3qw3PliyP9FDI0Y2net3LZQVcrEBq+edGLoprLnQ6CvFdykW3NFB6 MQAZD5BUIplksAcohMSo6xhbb9ILjZmei/HSbBppG/77QP3bTfsIXdpuX4Jco2HuFI gmyFBdVU5Ik8cNwXkVHIcRH4yxOI7kXDBzHnhQAEJmbfYAJ+s3tKemboy4N5KwQ4Uj KA1Ki0GUxaXHsNMXmP/JPt82ZbbpCTdnFxRNLE1X9AmzN5YD40wvFe7f9BQiCy584R TZx58n6/Wp7O/j0sEjF9xkm76JBd5kaozdftDDi87WTgZdh18FguZsNeiIEceoZEiv 58TQ6r18qzVnw== On Sun, 19 Nov 2017 11:41:57 -0800 Bart Schaefer wrote: > On Sat, Nov 18, 2017 at 10:22 AM, Daniel Shahaf wrote: > > > > How about the following. > > > > It uses status 3 because status 2 currently means "syntax error in [[" > > and I didn't want to overload that; and it uses POSIX_BUILTINS because > > that seemed more closely related than POSIX_IDENTIFIERS. > > For reasons I can't entirely define, it bothers me that an operation > to test the setting of options changes its behavior based on the > setting of an option. I'm actually more worried if this *isn't* an option, given it's (in a more touchy feely sense) optional behaviour. Having something of that kind based on emulation seems a bit gross. But we do have gross syntax changes based on emulation, it's true, such as variables that never appear. pws