zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: dana <dana@dana.is>
Cc: Zsh workers <zsh-workers@zsh.org>
Subject: Re: [PATCH/RFC] Completion: Add _composer
Date: Wed, 19 Dec 2018 16:21:55 -0800	[thread overview]
Message-ID: <CAH+w=7YgTNoV6t9iLMJaG0NToXUc2yk5xGwzJ6fGaixvpXLaVw@mail.gmail.com> (raw)
In-Reply-To: <A7FB284C-5616-48D6-975D-DDAB9228D1CC@dana.is>

On Wed, Dec 19, 2018 at 3:38 PM dana <dana@dana.is> wrote:
>
> In cases like this where there are many thousands of possibilities, and you try
> to complete when there's no prefix/suffix yet on the command line, completion
> hangs for ages (several minutes here) on the loop in _multi_parts. I didn't
> look very hard but i think maybe this could be improved if the empty argument
> were treated as a special case? Even then, though, i's still effectively
> unusable if you add too many possibilities at once

Maybe compadd itself should throw an error if there are "too many"
results.  I'm not sure exactly where to catch this or how to determine
"too many", though.

  parent reply	other threads:[~2018-12-20  0:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-17 23:09 dana
2018-12-18  0:19 ` Daniel Shahaf
2018-12-18  0:22   ` Daniel Shahaf
2018-12-18  0:46   ` dana
2018-12-19 23:38     ` dana
2018-12-20  0:09       ` dana
2018-12-20  0:21       ` Bart Schaefer [this message]
2018-12-20  1:10         ` dana

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='CAH+w=7YgTNoV6t9iLMJaG0NToXUc2yk5xGwzJ6fGaixvpXLaVw@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=dana@dana.is \
    --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).