From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1621 invoked by alias); 1 Sep 2010 22:12:53 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 28223 Received: (qmail 20966 invoked from network); 1 Sep 2010 22:12:49 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00,DATE_IN_PAST_03_06 autolearn=no version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at ntlworld.com designates 81.103.221.58 as permitted sender) Message-Id: <201009011835.o81IZm4F003315@pws-pc.ntlworld.com> From: Peter Stephenson To: zsh-workers@zsh.org Subject: Re: environment variables In-Reply-To: Message from Bart Schaefer of "Wed, 01 Sep 2010 08:25:58 PDT." <100901082558.ZM9495@torch.brasslantern.com> Date: Wed, 01 Sep 2010 19:35:48 +0100 X-Cloudmark-Analysis: v=1.1 cv=4QByPj+6Iq2k/6L54d+eVKTdgQxdscpRskJJReCfdXo= c=1 sm=0 a=DogomfpGjd0A:10 a=NLZqzBF-AAAA:8 a=XTEHXdH9lSIAyNLGZFsA:9 a=taFt0nYHbobtJ4PqCJcA:7 a=O7s6I5bHyWZPL8AZcD7cEUYnKacA:4 a=_dQi-Dcv4p4A:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Bart Schaefer wrote: > Have you been following the austin-group discussion about the behavior > of assignments prefixing builtin vs. external commands? Only very vaguely. It was about some fairly abstruse behaviour that's not yet standardised, so I didn't particularly sit up and take notice, but I've forgotten the details. > } I think we can just copy the parameter instead of removing it, so long > } as we copy it properly. > > What did the name "toplevel" signify before? Obviously it's semantically > the same as "fakecopy", but it must have meant something to someone ... It was named because of the use it was put to rather than the function it had (poor interface design on my part). It refers to the top level of parameter handling when paramtab is the "real" parameter table, as opposed to when it's the parameter table contained within an associative array (when we're somewhere within the bowels of parameter code). In the former case it happened we never needed to do a real copy because we only used it for partially saving special parameters (but now we use it for normal parameters at the same "level", which wasn't even a particularly descriptive word). -- Peter Stephenson Web page now at http://homepage.ntlworld.com/p.w.stephenson/