Subject: Re: Error status of "repeat" (was Re: [PATCH] typeset: set $? on incidental error)
From: Peter Stephenson <[email-masked]>
To: [email-masked]
Date: Fri, 29 Jan 2016 09:29:00 +0000
List-Id: Zsh Workers List <zsh-workers.zsh.org>

On Fri, 29 Jan 2016 09:18:06 +0000
Daniel Shahaf <[email-masked]> 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 <[email-masked]> 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