From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3179 invoked from network); 10 Jan 2002 10:46:32 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 10 Jan 2002 10:46:32 -0000 Received: (qmail 24402 invoked by alias); 10 Jan 2002 10:46:22 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 16424 Received: (qmail 24390 invoked from network); 10 Jan 2002 10:46:21 -0000 From: Sven Wischnowsky MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15421.28831.41837.731769@wischnow.berkom.de> Date: Thu, 10 Jan 2002 11:44:47 +0100 To: zsh-workers@sunsite.dk Subject: Re: Zsh Completion function generation via XML In-Reply-To: <20020103065028.92120.qmail@web10402.mail.yahoo.com> References: <20020103065028.92120.qmail@web10402.mail.yahoo.com> X-Mailer: VM 6.95 under 21.5 (patch 3) "asparagus" XEmacs Lucid Felix Rosencrantz wrote: > ... [XML stuff] That looks friendlier than before. Only two remarks: > _arguments \ > ... > '*:Handling Tag _files:->_files' There should at least be a `&& return 0' after the last spec. But, and that's the second remark, I strongly suggest that you don't use states for every action, or states at all. They actually are the worst case for _arguments, because it has to give up control. It's also the most complicated and probably far from bug-free. Ahem. Maybe use small sub-functions if you can't be bothered to find out if the action can be put into the specs themselves. Bye Sven -- Sven Wischnowsky wischnow@berkom.de