From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: Completion/User/_cvs again.
Date: Tue, 7 Sep 1999 09:17:15 +0200 (MET DST) [thread overview]
Message-ID: <199909070717.JAA03524@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Tanaka Akira's message of 07 Sep 1999 03:10:04 +0900
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
next reply other threads:[~1999-09-07 7:17 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-09-07 7:17 Sven Wischnowsky [this message]
1999-09-07 10:47 ` Tanaka Akira
1999-09-07 22:26 ` Bart Schaefer
1999-09-07 22:58 ` Tanaka Akira
1999-09-08 0:46 ` Bart Schaefer
-- strict thread matches above, loose matches on Subject: below --
1999-09-08 8:27 Sven Wischnowsky
1999-09-08 7:08 Sven Wischnowsky
1999-09-07 11:51 Sven Wischnowsky
1999-09-07 11:22 Sven Wischnowsky
1999-09-06 18:10 Tanaka Akira
1999-09-07 21:06 ` Bart Schaefer
1999-09-07 23:22 ` Tanaka Akira
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=199909070717.JAA03524@beta.informatik.hu-berlin.de \
--to=wischnow@informatik.hu-berlin.de \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).