zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <p.stephenson@samsung.com>
To: zsh workers <zsh-workers@zsh.org>
Subject: Re: PATCH: unwanted error aborting continued command substitution
Date: Fri, 17 Apr 2015 12:02:21 +0100	[thread overview]
Message-ID: <20150417120221.6f82b74c@pwslap01u.europe.root.pri> (raw)
In-Reply-To: <CAHYJk3Qr6=07SvjAyjA0f-0j+qo8Ai7E5SGxJeDxvPvywaWPFg@mail.gmail.com>

On Fri, 17 Apr 2015 12:52:56 +0200
Mikael Magnusson <mikachu@gmail.com> wrote:
> On Fri, Apr 17, 2015 at 11:16 AM, Peter Stephenson
> <p.stephenson@samsung.com> wrote:
> > On Fri, 17 Apr 2015 06:39:29 +0200
> > Mikael Magnusson <mikachu@gmail.com> 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


  reply	other threads:[~2015-04-17 11:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-17  4:39 broken parsing with $((`:`)) Mikael Magnusson
2015-04-17  9:16 ` PATCH: unwanted error aborting continued command substitution Peter Stephenson
2015-04-17 10:52   ` Mikael Magnusson
2015-04-17 11:02     ` Peter Stephenson [this message]
2015-04-17 15:46       ` Bart Schaefer
2015-04-17 16:31         ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150417120221.6f82b74c@pwslap01u.europe.root.pri \
    --to=p.stephenson@samsung.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).