From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7093 invoked by alias); 5 Mar 2017 23:02:36 -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: 40750 Received: (qmail 17341 invoked from network); 5 Mar 2017 23:02:36 -0000 X-Qmail-Scanner-Diagnostics: from out4-smtp.messagingengine.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(66.111.4.28):SA:0(-0.7/5.0):. Processed in 1.087267 secs); 05 Mar 2017 23:02:36 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: d.s@daniel.shahaf.name X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at daniel.shahaf.name does not designate permitted sender hosts) 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= X-ME-Sender: X-Sasl-enc: UVuT00WKfMa6fsgxg+/XzPRDPIiapRlv8BJpwUKngLv0 1488754951 Date: Sun, 5 Mar 2017 22:57:48 +0000 From: Daniel Shahaf To: zsh-workers@zsh.org Subject: Re: [PATCH] Document the SHORT_LOOP 'function' syntax. Message-ID: <20170305225748.GA13347@fujitsu.shahaf.local2> References: <1488751856-8017-1-git-send-email-danielsh@fujitsu.shahaf.local2> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Bart Schaefer wrote on Sun, Mar 05, 2017 at 14:58:04 -0800: > On Sun, Mar 5, 2017 at 2:10 PM, Daniel Shahaf 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' %