zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@zsh.org
Subject: Re: More warn_create_global warnings
Date: Wed, 30 Dec 2015 17:06:26 -0800	[thread overview]
Message-ID: <151230170626.ZM8786@torch.brasslantern.com> (raw)
In-Reply-To: <6d067a9e-749b-4edb-959e-d182b70d8c05@email.android.com>

On Dec 30,  6:17pm, Peter Stephenson wrote:
}
} So if you don't want a warning here, it could be a sign you don't really
} need the warnings at all.

The problem has become one where user A wants the warning, user B does
not, but user A wants to run scripts/functions written by user B.

Sometimes "user B" is the zsh distribution, which hasn't been (and is
rather difficult to be) rigorously checked for undeclared locals.

Hopefully the change in commit 7611e78ad1a8edbfcb486b19d4cfbc969ce1e771
to cause "emulate" to reset WARN_CREATE_GLOBAL will make this less of
an issue, come 5.3 ... but it still means user B has to remember to
properly "emulate"-ify his functions.


  reply	other threads:[~2015-12-31  1:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-30 14:20 Frank Terbeck
2015-12-30 18:17 ` Peter Stephenson
2015-12-31  1:06   ` Bart Schaefer [this message]
2015-12-31  0:49 ` Daniel Shahaf
2015-12-31  1:27   ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=151230170626.ZM8786@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).