From: "Jun T." <takimoto-j@kba.biglobe.ne.jp>
To: zsh-workers@zsh.org
Subject: Re: Bug: bracketed-paste-magic + ztcp causes wrong pasted contents for CJK payloads
Date: Fri, 30 Oct 2015 01:25:49 +0900 [thread overview]
Message-ID: <0D7C93CF-C84C-43BF-B7ED-4A868F04D401@kba.biglobe.ne.jp> (raw)
In-Reply-To: <20151029145143.6b3830a7@pwslap01u.europe.root.pri>
2015/10/29 23:51, Peter Stephenson <p.stephenson@samsung.com> wrote:
> @@ -3007,6 +3032,10 @@ setnparam(char *s, mnumber val)
>
> DPUTS(!v, "BUG: value not found for new parameter");
> + if (!was_unset && isset(WARNCREATEGLOBAL) && locallevel > 0 &&
> + v->pm->level == 0)
> + zwarn("numeric parameter %s created globally in function",
> + v->pm->node.nam);
E01options.ztst also need be updated; otherwise it fails as follows:
*** /tmp/zsh.ztst.err.65239 Fri Oct 30 00:54:52 2015
--- /tmp/zsh.ztst.terr.65239 Fri Oct 30 00:54:52 2015
***************
*** 1,3 ****
--- 1,4 ----
fn:3: scalar parameter foo1 created globally in function
fn:5: scalar parameter foo1 created globally in function
fn:15: math parameter foo5 created globally in function fn
+ fn:15: numeric parameter foo5 created globally in function
Test ./E01options.ztst failed: error output differs from expected as shown above for:
fn() {
emulate -L zsh
setopt warncreateglobal
(snip)
}
fn
Was testing: WARN_CREATE_GLOBAL option
next prev parent reply other threads:[~2015-10-29 16:26 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-15 13:54 Chi Hsuan Yen
2015-10-15 20:54 ` Bart Schaefer
2015-10-16 0:25 ` Bart Schaefer
2015-10-16 19:40 ` Chi Hsuan Yen
2015-10-18 15:52 ` Bart Schaefer
2015-10-18 16:19 ` Chi Hsuan Yen
2015-10-28 2:43 ` Bart Schaefer
2015-10-28 3:23 ` Bart Schaefer
2015-10-28 9:35 ` Peter Stephenson
2015-10-28 17:07 ` Bart Schaefer
2015-10-28 17:44 ` Peter Stephenson
2015-10-28 23:38 ` Bart Schaefer
2015-10-29 9:31 ` Peter Stephenson
2015-10-29 14:51 ` Peter Stephenson
2015-10-29 15:00 ` Bart Schaefer
2015-10-29 15:10 ` Peter Stephenson
2015-10-29 16:25 ` Jun T. [this message]
2015-10-29 16:56 ` Peter Stephenson
2015-10-30 15:02 ` Daniel Shahaf
2015-11-03 16:31 ` Chi Hsuan Yen
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=0D7C93CF-C84C-43BF-B7ED-4A868F04D401@kba.biglobe.ne.jp \
--to=takimoto-j@kba.biglobe.ne.jp \
--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).