From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9276 invoked from network); 7 Sep 1999 07:17:32 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 7 Sep 1999 07:17:32 -0000 Received: (qmail 17824 invoked by alias); 7 Sep 1999 07:17:18 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7677 Received: (qmail 17816 invoked from network); 7 Sep 1999 07:17:17 -0000 Date: Tue, 7 Sep 1999 09:17:15 +0200 (MET DST) Message-Id: <199909070717.JAA03524@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: Tanaka Akira's message of 07 Sep 1999 03:10:04 +0900 Subject: Re: PATCH: Completion/User/_cvs again. Tanaka Akira wrote: > This is new condensed version of _cvs. > After applying the patch, you should remove Completion/Cvs. > > I didn't use the state machine support "->" by _arguments because > there are functions that is `called' such as _cvs_setup_prefix. (An > state machine cannot represent call-return relation because it has no > stack.) Have you had a look at `_rpm'? It uses a (pseudo-endless-) loop with a `case' in it to handle the different states. The calls to `_arguments' then only have to use `->name' to make the code for the state `name' to be executed in that loop (and use other completion code for the `leafs', of course). Personally, I think that this is better readable, I don't want to say that everyone should use it, though. Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de