From: Sven Wischnowsky <wischnow@berkom.de>
To: zsh-workers@sunsite.dk
Subject: Re: Zsh Completion function generation via XML
Date: Thu, 10 Jan 2002 11:44:47 +0100 [thread overview]
Message-ID: <15421.28831.41837.731769@wischnow.berkom.de> (raw)
In-Reply-To: <20020103065028.92120.qmail@web10402.mail.yahoo.com>
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
next prev parent reply other threads:[~2002-01-10 10:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-03 6:50 Felix Rosencrantz
2002-01-10 10:44 ` Sven Wischnowsky [this message]
2002-01-03 6:52 Felix Rosencrantz
2002-01-14 0:19 Felix Rosencrantz
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=15421.28831.41837.731769@wischnow.berkom.de \
--to=wischnow@berkom.de \
--cc=zsh-workers@sunsite.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).