From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17292 invoked from network); 10 Nov 2003 18:40:48 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 10 Nov 2003 18:40:48 -0000 Received: (qmail 10050 invoked by alias); 10 Nov 2003 18:40:39 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 19235 Received: (qmail 10007 invoked from network); 10 Nov 2003 18:40:39 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 10 Nov 2003 18:40:39 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [62.189.183.235] by sunsite.dk (MessageWall 1.0.8) with SMTP; 10 Nov 2003 18:40:38 -0000 Received: from EXCHANGE02.csr.com (unverified) by MAILSWEEPER01.csr.com (Content Technologies SMTPRS 4.3.10) with ESMTP id for ; Mon, 10 Nov 2003 18:40:37 +0000 Received: from csr.com ([192.168.144.127]) by EXCHANGE02.csr.com with Microsoft SMTPSVC(5.0.2195.5329); Mon, 10 Nov 2003 18:41:37 +0000 To: zsh-workers@sunsite.dk Subject: Re: Completion function for bitkeeper? In-reply-to: "Danek Duvall"'s message of "Mon, 10 Nov 2003 10:20:13 PST." <20031110182013.GA20547@lorien.emufarm.org> Date: Mon, 10 Nov 2003 18:40:32 +0000 Message-ID: <26756.1068489632@csr.com> From: Peter Stephenson X-OriginalArrivalTime: 10 Nov 2003 18:41:37.0726 (UTC) FILETIME=[46090DE0:01C3A7BA] Danek Duvall wrote: > I still maintain that passing in the compadd arguments both on the > commandline and in $expl is a bug, as it's duplicative, redundant, > repetitive, and redundant. But at least it doesn't do the same thing twice over again once more... About the only alternative is to hold the values in a fixed array or (preferably) associative array and allow functions to grope around in it. That would eliminate the explicit expl which crops up everywhere. However, it would need setting and unsetting for each function where expl is currently local. I suspect it needs lower level help to do it neatly. -- Peter Stephenson Software Engineer CSR Ltd., Science Park, Milton Road, Cambridge, CB4 0WH, UK Tel: +44 (0)1223 692070 ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com **********************************************************************