From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5078 invoked by alias); 29 Dec 2017 23:46:05 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 23028 Received: (qmail 7925 invoked by uid 1010); 29 Dec 2017 23:46:04 -0000 X-Qmail-Scanner-Diagnostics: from mail-qk0-f169.google.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(209.85.220.169):SA:0(-1.9/5.0):. Processed in 2.58364 secs); 29 Dec 2017 23:46:04 -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=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: schaefer@brasslantern.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=LTr+Gc9O81spd6aVtMd80wdyhp+9pEDpd5z0PGua9bI=; b=rg1Wj9y7ShG/u6SLGAY/p8Rox6vlEw5Nc3n4HBLkG/RIVm3ifs8S9GGsofXeg6EgU9 BS+NQuPxuEe0K4Zk/zvhX+pSEO/Hgf3KmIYkGZKZ0P52x98TBaRsIgqgAy4jeld0H3lf RT1e51vfNLWXOgaujrGlKIaIqOdAriHm9ZeMBLVh/tl6zlZVdiilYhvKC8QWxm/iW/+8 yEHoAhAQqxV6Zk/cO0TQ3+cShXhj8aZRtnfFRufqzQxrkEhOZMFeEzvZ3gJxHlqoDpxN VCB9ZdbZp9sadJ/lna5LgvpWgc9XmkKsgtEqayViNWOT7pcbY0TwTfGhWUjVfc/E24Px MAyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=LTr+Gc9O81spd6aVtMd80wdyhp+9pEDpd5z0PGua9bI=; b=oGvKL5EJL3+BenLo8g2FnomBbPEqB3C5B2Fb3u5w7MFn6V1txXc/cPvsAd4XV2JQJr 2oMeNr1938foEcMjI7VfQb4xcL+6xrsUpvDx4AHl8ni0XkSvXqiaO7iDhu7blgn6WVR/ wL5T4fuvblgEYOsDJ19IRmyFi2PnFw0uERBnuojmGbXzDyjISsFgNl7902jU2U33PB72 mYCe80RmOGHL/+A9s00rIhy4mvrOuDgs73HOScJorcV4Lqppnz1cW+/qHg4XBrHKK2o9 0zi/0WNVJ/WxK21MN+MQrny/zUijap8uli7iDthY6u5sYSP/rD2GpmwZZNybmWabxj52 mt5w== X-Gm-Message-State: AKGB3mLfDNHIh5Q575gRrUVFIHZZ2n9CdILBxTZknp2oALUuuiBc+S6J wyf4WbbUPOVliWvcxvw70Vpi/MFC0TDTUJnp7xVbcg== X-Google-Smtp-Source: ACJfBotnLKmbtxc4BV0Re1MpwAtzxwoTxpFtDlS6BW8GwcPWvXrjHUut6zqQv+O8wZjRxMaGY20r50eJqYPrP3wPP7s= X-Received: by 10.55.6.2 with SMTP id 2mr45943534qkg.178.1514591158947; Fri, 29 Dec 2017 15:45:58 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <81beaeae-6507-c961-b6fd-5831ba58e045@eastlink.ca> References: <71ef7896-39f8-66fe-f8f8-c7c81b11e2ce@culture-libre.org> <918acbfa-b637-1d13-816b-c6edee0afa5c@culture-libre.org> <81beaeae-6507-c961-b6fd-5831ba58e045@eastlink.ca> From: Bart Schaefer Date: Fri, 29 Dec 2017 15:45:58 -0800 Message-ID: Subject: Re: Can zsh `else` reserved keyword command be aliased and the lexem itself be repurposed as `fi` keyword command? To: Zsh Users Content-Type: text/plain; charset="UTF-8" On Fri, Dec 29, 2017 at 12:27 PM, Ray Andrews wrote: > As for me, the very idea that a reserved word could be aliased seems > monstrous. If you realize that aliasing is mostly analogous to #define in C-and-friends, this becomes less horrifying. It's little more than a built-in preprocessor. > But I am curious, what does it > mean to say that an interpreted program is incomplete? In this case it means any unfinished complex code structure -- "if" without "fi", "do" without "done", "case" without "esac", "foreach" without "end". Mathieu wants execution to begin as soon as there is some code in the buffer, without waiting for the final keyword to appear.