From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23193 invoked by alias); 11 Dec 2016 18:33:01 -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: X-Seq: 22191 Received: (qmail 17390 invoked from network); 11 Dec 2016 18:33:01 -0000 X-Qmail-Scanner-Diagnostics: from mta01.eastlink.ca 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(24.224.136.30):SA:0(-3.7/5.0):. Processed in 1.250677 secs); 11 Dec 2016 18:33:01 -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=-3.7 required=5.0 tests=RCVD_IN_DNSWL_LOW, RP_MATCHES_RCVD,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: rayandrews@eastlink.ca X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.eastlink.ca designates 24.224.136.30 as permitted sender) X-Authority-Analysis: v=2.2 cv=HKaBLclv c=1 sm=1 tr=0 a=xPWM5QW5oS+lNOfUWk9MeA==:117 a=xPWM5QW5oS+lNOfUWk9MeA==:17 a=N659UExz7-8A:10 a=y4n0YbKq-hLMlOHtO7cA:9 a=pILNOxqGKmIA:10 X-EL-IP-NOAUTH: 24.207.97.144 Message-id: <584D94CE.5020706@eastlink.ca> Date: Sun, 11 Dec 2016 10:02:54 -0800 From: Ray Andrews User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-version: 1.0 To: zsh-users@zsh.org Subject: Re: off topic References: <20161209122958.GD19559@256bit.org> <57127.1481294647@hydra.kiddle.eu> <584AC8AC.9050406@eastlink.ca> <62522.1481300922@hydra.kiddle.eu> <584AEDBF.2050402@eastlink.ca> <161209165454.ZM9226@torch.brasslantern.com> <95362.1481338226__15466.9970310808$1481338718$gmane$org@hydra.kiddle.eu> <20161211043221.GA11489@fujitsu.shahaf.local2> <584D87B5.6070803@eastlink.ca> <161211091915.ZM22135@torch.brasslantern.com> In-reply-to: <161211091915.ZM22135@torch.brasslantern.com> Content-type: text/plain; charset=windows-1252; format=flowed Content-transfer-encoding: 7bit On 12/11/2016 09:19 AM, Bart Schaefer wrote: > On Dec 11, 9:07am, Ray Andrews wrote: > } > } Pardon, I'm out of my depth here so just ignore this, but why would we > } want to ignore user options and such? > > So that the writer of the plugin doesn't have to worry about his code > being misinterpreted because of the user's idiosyncracies. > > Note the suggestion is to clean up the way the plugin code is initially > parsed, not what happens when it runs. > Ah! So the plugin runs predictably, but this doesn't mean that the user's setup is ignored otherwise, it would just be ignored while the plugin is running insofar as the commands within the plugin go. Which makes nothing but sense. So if I have 'set favoritecolor=green;' and 'alias echo="dd if=/dev/zero of=/dev/sda"', if the plugin contains a few 'echo's' but also contains 'set favoritecolor=blue', after the plugin runs, I still have my disk, but favoritecolor is now blue. Yes?