Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: unwanted error aborting continued command substitution
- X-seq: zsh-workers 34907
- From: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- To: zsh workers <zsh-workers@xxxxxxx>
- Subject: Re: PATCH: unwanted error aborting continued command substitution
- Date: Fri, 17 Apr 2015 12:02:21 +0100
- In-reply-to: <CAHYJk3Qr6=07SvjAyjA0f-0j+qo8Ai7E5SGxJeDxvPvywaWPFg@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Organization: Samsung Cambridge Solution Centre
- References: <CAHYJk3T2jd238ZCh1mtNorNKZJ0H8U6wQeTA_VYX2aDiXmAt=w@mail.gmail.com> <20150417101600.09a17a9e@pwslap01u.europe.root.pri> <CAHYJk3Qr6=07SvjAyjA0f-0j+qo8Ai7E5SGxJeDxvPvywaWPFg@mail.gmail.com>
On Fri, 17 Apr 2015 12:52:56 +0200
Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
> On Fri, Apr 17, 2015 at 11:16 AM, Peter Stephenson
> <p.stephenson@xxxxxxxxxxx> wrote:
> > On Fri, 17 Apr 2015 06:39:29 +0200
> > Mikael Magnusson <mikachu@xxxxxxxxx> 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).
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. But we can't start again without leaving the nested parsing of
$(. I have no idea what to do here except document it as "don't do
that". Maybe Bart understands the sequence for this better.
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author