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

Re: PATCH: completion



Sven Wischnowsky wrote:
>     Btw. I didn't change `_cvs' mainly because I use the `parameter'
>     module and there is a bug with the stuff that `allows' local
>     special parameters: the associative array `commands' in `_cvs' has 
>     (obviously) the same name as the one from the `parameter'
>     module. The new code in typeset_single() has the effect that this
>     `local' parameter behaves like the one from the module, i.e. if
>     you can't use the names of special parameters for local parameters 
>     without having them behave like the global ones. Maybe we have to
>     wait for Peter here...

This isn't a bug, local special parameters are supposed to stay special; it
would have been much easier if they weren't.  At least, I could change it
but then things like `local PATH=...' (which is now documented) wouldn't
work.  The variable in cvs ought to be changed anyway, but I'm a million
patches behind with completion and I'm logged in from a PC with only a
third-rate version of telnet.

-- 
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>       Tel: +39 050 844536
WWW:  http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy





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