Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: More warn_create_global warnings
- X-seq: zsh-workers 37459
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: More warn_create_global warnings
- Date: Wed, 30 Dec 2015 17:06:26 -0800
- 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:content-type; bh=MwPIWbEBM0/Q+LfyqT1hEMDsNbHtda0ihSckuhP3H60=; b=ma//4F5piQyAFzaDDtABK7NcCM+FRASCerqE2if6Uo1ZJWhB/MVwq/6gHcQjHuNqHh gCB6Dg78NWhlxwzGV91SwFVMD9JJy1BMBqQB+DuKm8vdG+G5lOWqyw2AdvsoHtRoCg4q lXZNkyCubhbU5G8Ff/g4vx9E8t8tEM+UmwQonE9VbvtdLPG/GJImHPdtXI5enysJwgal LsV4bok5BXhTE2qFpXmwDdBDXzz0j65BFUEQRFjpDXj6PXBdH2ee9Ray84HGKfoLNx2D ydOP4iB1xkPSXiohOLXTwqAgBEdnS9f5CqFU9Jey+n9ekh58ZuSlnxPuwxv/bUSyKXGj Doag==
- In-reply-to: <6d067a9e-749b-4edb-959e-d182b70d8c05@email.android.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author