From: Peter Stephenson <p.stephenson@samsung.com>
To: zsh-workers@zsh.org
Subject: Re: [PATCH] cache list of all python modules
Date: Wed, 28 Jan 2015 12:03:15 +0000 [thread overview]
Message-ID: <20150128120315.38e145b5@pwslap01u.europe.root.pri> (raw)
In-Reply-To: <1D943922-31DD-4F50-8AA9-5D6129402619@kba.biglobe.ne.jp>
On Wed, 28 Jan 2015 20:54:38 +0900
Jun T. <takimoto-j@kba.biglobe.ne.jp> wrote:
> 2015/01/28 01:49, Jun T. <takimoto-j@kba.biglobe.ne.jp> wrote:
>
> > #compdef lines in _python/_pydoc are modified to use -P pattern.
>
> Is it better to use
>
> #compdef python -P python[0-9.]#
>
> instead of the following?
>
> #compdef -P python[0-9.]#
...the point being -P specifies patterns to check through at the end, if
it didn't find a specific match for the "service" in the hash.
I guess it's a little bit more efficient to have the common case of
"python" optimised, but I doubt it's worth losing sleep over.
pws
prev parent reply other threads:[~2015-01-28 12:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-27 16:49 Jun T.
2015-01-28 11:54 ` Jun T.
2015-01-28 12:03 ` Peter Stephenson [this message]
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=20150128120315.38e145b5@pwslap01u.europe.root.pri \
--to=p.stephenson@samsung.com \
--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).