From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24533 invoked by alias); 17 Apr 2015 15:46:58 -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: 34915 Received: (qmail 28195 invoked from network); 17 Apr 2015 15:46:55 -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=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=WFxYj11AD9J1M8nqsFTlcEYMG8AqCYky68jMQ6qEcp8=; b=Te2CT1qyLz0tNQMfqdGsEGqYtpv09JBCFF0tqwHuXv0cYKbqqqLvD3fFIh5gpSF64I tQvEEmAHlrrdL4UneLHPbmNiKBEK//bs0yljF2ezS9SFiNeduAAFzLZ0JHuekyZk2o/w TlgfS3+K4ivJ9vE57LbEAZneG85jVMyc0eTEccoIJN8MebbbDpU72TQ69QT/DIUNf5ym 4IVgxAuB+cmeaE8KzX2/wfHB9D+2+mOFgryVqXuv2aqkpWm6EPvCiSrchW0jXLLVynHZ OLFuRblOVgOEEL2nzjkbHGpHObwBTwKiNifftPx+3WmTnZqGsU1xJb/W7p6K/XlkP1CA vFKQ== X-Gm-Message-State: ALoCoQlN8yV2/1ibzaCAq1L+yVdpRLfQ5aSpCJ4UMfVZXElHIwmp67MWb6Szzgo9nbtcyXrTRWCT X-Received: by 10.182.68.103 with SMTP id v7mr3579009obt.82.1429285608912; Fri, 17 Apr 2015 08:46:48 -0700 (PDT) From: Bart Schaefer Message-Id: <150417084645.ZM11686@torch.brasslantern.com> Date: Fri, 17 Apr 2015 08:46:45 -0700 In-Reply-To: <20150417120221.6f82b74c@pwslap01u.europe.root.pri> Comments: In reply to Peter Stephenson "Re: PATCH: unwanted error aborting continued command substitution" (Apr 17, 12:02pm) References: <20150417101600.09a17a9e@pwslap01u.europe.root.pri> <20150417120221.6f82b74c@pwslap01u.europe.root.pri> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh workers Subject: Re: PATCH: unwanted error aborting continued command substitution MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Apr 17, 12:02pm, Peter Stephenson wrote: } Subject: Re: PATCH: unwanted error aborting continued command substitution } } On Fri, 17 Apr 2015 12:52:56 +0200 } Mikael Magnusson wrote: } > On Fri, Apr 17, 2015 at 11:16 AM, Peter Stephenson } > wrote: } > > On Fri, 17 Apr 2015 06:39:29 +0200 } > > Mikael Magnusson wrote: } > >> % $( } > >> cmdsubst> [press ctrl-c here] } > >> zsh: parse error near `$(' } > } > I didn't think to try this yesterday, but invoking push-input gives } > the same error (sorry). So does send-break (using e.g. ESC-x send-break RET): torch% $( cmdsubst> execute: send-break_ zsh: parse error near `$(' torch% } That's a completely different kettle of fish --- push-input is basically } a hack to try to convince the line editor we've left it so we can start } again. Yes it's a hack, but it's the same kettle -- push-input uses send-break, and send-break is supposed to be a simulated interrupt for cases where the TTY intr character is not set. So either send-break should actually set ERRFLAG_INT, or we need a third error flag for simulated interrupts.