From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6690 invoked by alias); 20 Nov 2015 11:55:40 -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: 37169 Received: (qmail 20795 invoked from network); 20 Nov 2015 11:55:40 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_00,TO_NO_BRKTS_PCNT autolearn=no autolearn_force=no version=3.4.0 Date: Fri, 20 Nov 2015 12:55:38 +0100 From: Vincent Lefevre To: zsh-workers@zsh.org Subject: Re: WARN_CREATE_GLOBAL and parameters used by the shell Message-ID: <20151120115538.GB25070@cventin.lip.ens-lyon.fr> Mail-Followup-To: zsh-workers@zsh.org References: <20151120114456.GA24924@cventin.lip.ens-lyon.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20151120114456.GA24924@cventin.lip.ens-lyon.fr> X-Mailer-Info: https://www.vinc17.net/mutt/ User-Agent: Mutt/1.5.24-6525-vl-r83103 (2015-11-18) On 2015-11-20 12:44:56 +0100, Vincent Lefevre wrote: > I think that when WARN_CREATE_GLOBAL is set, one should get no warnings > for parameters used by the shell, as their intent is to be global. I'm wondering... Can WARN_CREATE_GLOBAL be used in .zshenv or .zshrc? There's a problem with smart-insert-last-word: smart-insert-last-word:63: scalar parameter _ilw_lcursor created globally in function smart-insert-last-word:76: scalar parameter _ilw_hist created globally in function smart-insert-last-word:77: scalar parameter _ilw_count created globally in function smart-insert-last-word:122: scalar parameter _ilw_cursor created globally in function smart-insert-last-word:125: scalar parameter _ilw_changeno created globally in function -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)