From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15862 invoked by alias); 29 Jan 2016 09:39:10 -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: 37833 Received: (qmail 1880 invoked from network); 29 Jan 2016 09:39:09 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 X-AuditID: cbfec7f4-f79026d00000418a-77-56ab30dfb5f5 Date: Fri, 29 Jan 2016 09:29:00 +0000 From: Peter Stephenson To: zsh-workers@zsh.org Subject: Re: Error status of "repeat" (was Re: [PATCH] typeset: set $? on incidental error) Message-id: <20160129092900.2b57a4a8@pwslap01u.europe.root.pri> In-reply-to: <20160129091806.GA15826@tarsus.local2> References: <20160123235300.GC20278@tarsus.local2> <56A445E0.50706@gmx.com> <20160126225008.GA4731@tarsus.local2> <160126201513.ZM2538@torch.brasslantern.com> <20160127095212.686e3362@pwslap01u.europe.root.pri> <20160129091806.GA15826@tarsus.local2> Organization: Samsung Cambridge Solution Centre X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.0; i386-redhat-linux-gnu) MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrELMWRmVeSWpSXmKPExsVy+t/xK7r3DVaHGWxsY7Y42PyQyYHRY9XB D0wBjFFcNimpOZllqUX6dglcGR0fbjAV3Get2PBtClMD4wGWLkZODgkBE4mpM7cwQthiEhfu rWfrYuTiEBJYyiixasIaRghnBpPEsf6ZzBDOOUaJE8+/sUI4ZxklOta8YwLpZxFQlWjZeZMV xGYTMJSYumk22FwRAXGJs2vPg+0TFoiVOL/uPVg9r4C9xLWfF8BqOAWMJRZPPQU1tJFJYsvz V2wgCX4BfYmrfz8xQRxoLzHzyhlGiGZBiR+T74ENZRbQkti8rYkVwpaX2LzmLTOILSSgLnHj 7m72CYzCs5C0zELSMgtJywJG5lWMoqmlyQXFSem5hnrFibnFpXnpesn5uZsYISH9ZQfj4mNW hxgFOBiVeHg70leFCbEmlhVX5h5ilOBgVhLhrdNaHSbEm5JYWZValB9fVJqTWnyIUZqDRUmc d+6u9yFCAumJJanZqakFqUUwWSYOTqkGRkNZQxdek+b4m4+utriYBe+N0iv5EXY/6Mh82aVX IuteyXO7/phU1d/7U3v11MPF8pbs7SeOXfrGFHrgcofPJt6mlBORT4uuM7m1G1fePhqautzy 5BrNDVv8uit/OT+Wf5nIxuwi+S0iO1I8+c3x/FXNP+RzK2+YrF85Oyra+zrr4bpLhzhUlFiK MxINtZiLihMB3WS4YGUCAAA= On Fri, 29 Jan 2016 09:18:06 +0000 Daniel Shahaf wrote: > Peter Stephenson wrote on Wed, Jan 27, 2016 at 09:52:12 +0000: > > On Tue, 26 Jan 2016 20:15:13 -0800 > > Bart Schaefer wrote: > > > On Jan 26, 10:50pm, Daniel Shahaf wrote: > > > } > > > } What would you expect "repeat 0+++ (exit 42)" to set $? to? > > I won't say "break", but here are some syntaxes that will now have > a different meaning: Yeah, probably stuff people never quite intended to work the way it actually did, but no guarantees. > Should we add a NEWS entry for this? Certainly; it could even be bumped to "incompatibilities" in the README based on one or two of your examples. pws