Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] Document the SHORT_LOOP 'function' syntax.
- X-seq: zsh-workers 40750
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: [PATCH] Document the SHORT_LOOP 'function' syntax.
- Date: Sun, 5 Mar 2017 22:57:48 +0000
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=yR85bRs7+AOALFD iZDc3zyH/PXY=; b=a6K4gTl4gOtwGWzSiIPparF7dt+YBTuz2CT9fNrgba99j40 sSKSKgJWXKPfn4HzRK+LJpTQKfYSUB1Ex4hZn+Ax6dl+O4aCv/riRQpzyxC7Xqg6 mgD2/USL+ZFfoitlk7RiIkQhx47gN0HKNERxHl88FUsthUQo9B74soxbduww=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=smtpout; bh=yR85bRs7+AOALF DiZDc3zyH/PXY=; b=Qr1ZkkogoG42D4tAwIfthirg45z+hOJvhkFm+G/kgFm9ya ALmJSaxW00QRIqSohHyFgMxaZKf16TQhM/A2iTD35J0IlrlooIcKZYr6wAAiW9jK vQUXFXr8xn4t+TBs12FOvae0f2Zgxuwbgx//OUYjgjRpw6KR5ZBukA171s5a4=
- In-reply-to: <CAH+w=7aab=6GGKOm+zGEqKTDjcH1PMHDLFwdMqdu1CODs_bJLQ@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
- References: <1488751856-8017-1-git-send-email-danielsh@fujitsu.shahaf.local2> <CAH+w=7aab=6GGKOm+zGEqKTDjcH1PMHDLFwdMqdu1CODs_bJLQ@mail.gmail.com>
Bart Schaefer wrote on Sun, Mar 05, 2017 at 14:58:04 -0800:
> On Sun, Mar 5, 2017 at 2:10 PM, Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
> > It's already mentioned in passing in zshoptions(1).
>
> This doesn't really belong with SHORT_LOOPS forms, though, because
> turning off the SHORT_LOOPS option doesn't change the behavior.
It does:
% function ; echo hello world
hello world
% setopt noshortloops
% function ; echo hello world
zsh: parse error near `echo'
%
Messages sorted by:
Reverse Date,
Date,
Thread,
Author