Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
WARN_CREATE_GLOBAL and url-quote-magic
- X-seq: zsh-workers 37385
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: WARN_CREATE_GLOBAL and url-quote-magic
- Date: Fri, 11 Dec 2015 14:05:07 +0100
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mail-followup-to: zsh-workers@xxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
I don't think that the following has been reported yet. Run "zsh -f"
and:
setopt WARN_CREATE_GLOBAL
autoload -Uz url-quote-magic
zle -N self-insert url-quote-magic
Then type "echo a:b ". After typing the space after "a:b", I get:
cventin% echo a:b
url-quote-magic:12: array parameter match created globally in function url-quote-magic
url-quote-magic:12: array parameter mbegin created globally in function url-quote-magic
url-quote-magic:12: array parameter mend created globally in function url-quote-magic
cventin% echo a:b
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author