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

Re: WARN_CREATE_GLOBAL and url-quote-magic



On Fri, 11 Dec 2015 08:52:20 -0800
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Dec 11,  1:50pm, Peter Stephenson wrote:
> }
> } Yes, it's the (#b) in the pattern creating those parameters.  All such
> } instances in distributed functions should be suitably protected.
> 
> This doesn't directly apply to url-quote-magic because it does not have
> an "emulate" call, but I'm left wondering whether "emulate zsh" should
> reset warn_create_global.
> 
> Obviously "emulate -R zsh" does so, but why isn't warn_create_global
> considered to be "likely to cause portability problems in scripts and
> functions" ?

I've got no object to that.

pws



Messages sorted by: Reverse Date, Date, Thread, Author