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

Re: completion grouping (yes, again)



Sven Wischnowsky wrote:
>>  Slightly icky thought:  Maybe we need
>> a variant of "emulate" that gets undone on *entry* to a called function
>> as well as on exit from the calling function?
>
>That's something I've been wishing for for parameters, btw. I mean,
>sometimes it's nice to be able to set parameters locally so that
>called functions use them instead of the global ones. But in functions 
>like `_arguments' it would be nice to be able to define the locals
>syntactically local.

I would have suggested this a while ago, but didn't because it didn't seem
really feasible in a shell.  Still, Lisp managed to make the transition
to lexical scoping, let's go for it...

-zefram



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