From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11999 invoked from network); 11 Nov 1999 11:39:29 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 11 Nov 1999 11:39:29 -0000 Received: (qmail 4604 invoked by alias); 11 Nov 1999 11:39:24 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8624 Received: (qmail 4595 invoked from network); 11 Nov 1999 11:39:24 -0000 Subject: Re: completion grouping (yes, again) In-Reply-To: <199911111133.MAA28902@beta.informatik.hu-berlin.de> from Sven Wischnowsky at "Nov 11, 1999 12:33:14 pm" To: wischnow@informatik.hu-berlin.de (Sven Wischnowsky) Date: Thu, 11 Nov 1999 11:39:22 +0000 (GMT) Cc: zsh-workers@sunsite.auc.dk X-Mailer: ELM [version 2.4ME+ PL48 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: From: Zefram 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