From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21700 invoked by alias); 11 Dec 2016 19:20:38 -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: 22192 Received: (qmail 7999 invoked from network); 11 Dec 2016 19:20:38 -0000 X-Qmail-Scanner-Diagnostics: from mail-ua0-f182.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.217.182):SA:0(-0.0/5.0):. Processed in 0.801071 secs); 11 Dec 2016 19:20:38 -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.0 required=5.0 tests=RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: schaefer@brasslantern.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.217.182 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=Ho81fVJqTSLNjSNZ8h4Qrg0s8UztB6qN2SqFtH5nhOk=; b=unb0KHNd5TomTgQSAVKLwmQKXJK8h02lxszGk9RnlRMuQ1+fv/Z595c502uNWdyUtA cLjMp2b86YFN6Z5Onv1/djDmsF/tiQYVHirM6elX3KqA7eQ2eC0sMp+1wPPMnr0rJ7HL lnaWzjPTXqsgBLd5hL62sej9kr4VrEsy8J7tutyXOAz9eIgD+dcyrFaWdNn4i9/WeWDQ zmwbHLwveuaUQ4yqzeiaLKaRAxEY1pv6kAMRxZqQvZc1bSzZStxeGaOx5boStzvd0cHc cbM42z0cPfb07SHGXPJkvWb/ft3y17VWqspnwC8kUemZmxKC7KTP34YYoQsZRSmibb90 Nt/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version; bh=Ho81fVJqTSLNjSNZ8h4Qrg0s8UztB6qN2SqFtH5nhOk=; b=h640dLNEnkcMP0g3jTQDHDPatB3QBWaHVBAoCKlJ9kx0WnYjENmZ8zR0cw4XqyWUEW 2cu3r/Lhfq+HPUQgjg7dkAU22S8wt4V1RLiUZ9WFrnFw55k2RY80qvyT3gHNDLyzuOcY ucwxzG5+xAmLXwypdVDuEtwxHz4HAjmgrqCMbfZ/iPqtdTcNr88hZjPOzPXEormguYVA IJF7X3ge79QigwEG57eEeDMNSJpmhq0gTToTmoeaZkNl32sIdr3v8ovxLCyWM0EfAyDX ShLbjLmAA8LQ5RahsC86a6JBB0Ox8FaeU4FTf2P66rEMZrFZ7ocuB4WHZUiawVUx2AWp GEJA== X-Gm-Message-State: AKaTC02nXupEju+llBX853ZXygLRNRORWNRXR39HE9YufLT9LUbZyjA040i3RUUrIbazMw== X-Received: by 10.176.65.167 with SMTP id 36mr58818758uap.175.1481484031359; Sun, 11 Dec 2016 11:20:31 -0800 (PST) From: Bart Schaefer Message-Id: <161211112053.ZM30289@torch.brasslantern.com> Date: Sun, 11 Dec 2016 11:20:53 -0800 In-Reply-To: <584D94CE.5020706@eastlink.ca> Comments: In reply to Ray Andrews "Re: off topic" (Dec 11, 10:02am) 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> <584D94CE.5020706@eastlink.ca> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Re: off topic MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Dec 11, 10:02am, Ray Andrews wrote: } } 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. Er, no. It would be ignored while the code for the plugin is being *parsed*, i.e., converted into zsh's internal wordcode format, NOT while the wordcode is being *run*. If the plugin wants to ignore or save/restore the user state while it is *running*, that's up to the plugin itself. This is for things like IGNORE_BRACES, IGNORE_CLOSE_BRACES, RC_QUOTES, C_BASES, C_PRECEDENCES, MULTI_FUNC_DEF, POSIX_ALIASES, POSIX_IDENTIFIERS, and POSIX_STRINGS, and alias expansions themselves, which affect the interpretation of the program text before it even begins running. Of course, the implementation example I gave could affect some of the running of the code if it executed simultaneously with the initial load of the plugin; there's no way to avoid that with an interpreted language. But the assumption is that most plugin source files only set up a bunch of state (function definitions, etc.) that is meant to execute later.