zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <p.w.stephenson@ntlworld.com>
To: zsh-workers@zsh.org
Subject: Re: [PATCH 2/3] Completion/Unix/Command/_git: fix shortlog completer
Date: Sun, 12 May 2013 18:48:11 +0100	[thread overview]
Message-ID: <20130512184811.1c5794da@pws-pc.ntlworld.com> (raw)
In-Reply-To: <CADdV=Mv2Rk7p8UMKUset=2gAf96GPQmRS=JWq8YODSrNZfUb2g@mail.gmail.com>

On Sat, 11 May 2013 18:55:58 +0200
Nikolai Weibull <now@disu.se> wrote:
> On Sun, Apr 28, 2013 at 4:30 PM, Nikolai Weibull <now@disu.se> wrote:
> > On Sat, Apr 27, 2013 at 10:56 AM, Nikolai Weibull <now@disu.se> wrote:
> >
> >> I think the first thing we need to do is identify the pain points.
> >
> > I would really appreciate some input on this.  What commands are slow,
> > where, and with which repositories?
> 
> OK, so we’ve gotten no responses on this.  Shall I take it that there
> are no commands for which completion is slow?

The problem seemed to be with certain archives.  It looks like the
people with those archives aren't to be found in these parts...  Nothing
with the zsh archive is unusably slow, certainly, and that's the only
one I use with any frequency.  Completion after "git show" takes a
couple of seconds on this machine (a few years old now), but I've got no
feeling for how that's likely to scale.  It's significantly slower than
"git add", for example, so maybe the place to look is for time taken in
git commands.  However, like you I'm largely in the dark about "real"
problems.

I have been wondering about setting up (zsh) tag ordering so I don't get offered
things I don't use much, such as git tags, but the capabilities for that are
already there.  It probably doesn't make sense to limit things by default.
If we wanted to make it easier for people to do this it ought to be something
generic, not git-specific --- e.g. it might be nice to be able to hit a key
in a given context so that instead of completing it showed you the possible
tags and prompted you to decide what order you'd like them offering in.
(Unless you can already and I missed it.)

Just some random thoughts on the subject so it doesn't go completely quiet...

-- 
Peter Stephenson <p.w.stephenson@ntlworld.com>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/


  reply	other threads:[~2013-05-12 19:39 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-20 12:56 [PATCH 0/3] Completion/Unix/Command/_git: misc fixes Ramkumar Ramachandra
2013-04-20 12:56 ` [PATCH 1/3] Completion/Unix/Command/_git: add a couple of browsers Ramkumar Ramachandra
2013-04-20 12:56 ` [PATCH 2/3] Completion/Unix/Command/_git: fix shortlog completer Ramkumar Ramachandra
2013-04-20 13:03   ` Nikolai Weibull
2013-04-20 15:05     ` Frank Terbeck
2013-04-20 17:13       ` Ramkumar Ramachandra
2013-04-20 17:35         ` Bart Schaefer
2013-04-20 17:50           ` Ramkumar Ramachandra
2013-04-25 12:42   ` Frank Terbeck
2013-04-25 13:11     ` Nikolai Weibull
2013-04-25 18:12       ` Ramkumar Ramachandra
2013-04-25 17:48     ` Ramkumar Ramachandra
2013-04-25 19:06       ` Frank Terbeck
2013-04-27  8:56         ` Nikolai Weibull
2013-04-27  9:01           ` Nikolai Weibull
2013-04-28 14:30           ` Nikolai Weibull
2013-05-11 16:55             ` Nikolai Weibull
2013-05-12 17:48               ` Peter Stephenson [this message]
2013-04-27 10:22         ` Ramkumar Ramachandra
2013-04-27 11:27           ` Frank Terbeck
2013-04-20 12:56 ` [PATCH 3/3] Completion/Unix/Command/_git: branch.*.pushremote, remote.pushdefault Ramkumar Ramachandra
2013-04-21 10:16 ` [PATCH 0/3] Completion/Unix/Command/_git: misc fixes Frank Terbeck

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=20130512184811.1c5794da@pws-pc.ntlworld.com \
    --to=p.w.stephenson@ntlworld.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).