From: "Eric P. Mangold" <teratorn@teratorn.org>
To: zsh-workers@zsh.org
Subject: Update _twisted completion
Date: Sun, 3 Feb 2013 12:53:28 -0500 [thread overview]
Message-ID: <20130203175328.GL2279@ragnarok.teratorn.org> (raw)
Hi,
For a while now we've had a new version of the zsh tab-completion stub function. It should probably start being included in zsh, replacing the old deprecated stub function that lives at Completion/Unix/Command/_twisted.
Twisted ships a large number of commands, and e.g. `twistd' sub-commands are dynamically generated at runtime via plugin loading. As such, a static completion function is innappropriate for Twisted, and would be instantly out of date. So, the stub function just asks Twisted to send it a
completion function on stdout, which if well formed can be eval'd inside the stub function (_twisted) to produce results.
This is an improvement over the old (as exists in zsh tree, currently) stub function, which sought to locate a Twisted directory and refer to
a set of statically generated completion files that exist there (twisted/python/zsh/_* in our tree). These old stubs still exist in our tree for backward compatibility with the old stub function, and will continue to do so for a long time to come (though they are just wrappers for the new stub, now).
Please find the new stub function here, noting that it should be renamed _twisted to replace the existing one in zsh's tree,
http://twistedmatrix.com/trac/browser/trunk/twisted/python/twisted-completion.zsh
Thanks,
Eric Mangold
teratorn@twistedmatrix.com
next reply other threads:[~2013-02-03 17:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-03 17:53 Eric P. Mangold [this message]
2013-02-04 4:26 ` Phil Pennock
2013-02-04 16:48 ` Eric P. Mangold
2013-02-04 17:17 ` Peter Stephenson
2013-02-04 17:31 ` Phil Pennock
2013-02-04 19:01 ` Eric P. Mangold
2013-02-04 19:11 ` Phil Pennock
2013-02-04 18:38 ` Bart Schaefer
2013-02-05 10:05 ` Oliver Kiddle
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=20130203175328.GL2279@ragnarok.teratorn.org \
--to=teratorn@teratorn.org \
--cc=zsh-workers@zsh.org \
/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).