Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

WARN_CREATE_GLOBAL and url-quote-magic



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