Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: completion autolist has time-sensitive interface
- X-seq: zsh-workers 43299
- From: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- To: <frederik@xxxxxxx>, Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: completion autolist has time-sensitive interface
- Date: Wed, 15 Aug 2018 09:33:58 +0100
- Cms-type: 201P
- Dkim-filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20180815083400euoutp0171677b819c3c64847f38341f58f784fb~LAcRbbL2x1696916969euoutp012
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1534322040; bh=nZlVP+YJS1JZwK2KT/YudILDa3gjULRu3PA9fc+n+cs=; h=Date:From:To:Subject:In-Reply-To:References:From; b=awxnGUAqGhoy6Eud0MHo6hLH0fxyc6Cu02CGKhm/HbXNBGRQTBnLAzIOGUkQP15k4 s7n91xhQLiiNJ5d29EHUn7slmX6gUl/eAZJXjWp61/9HFUI3UY31FKOvdYERND4CXY h+wUWtJAa5izE6TrX2JIKp8SbSsIvsnqMqmIED/8=
- In-reply-to: <20180815054958.GA27844@ofb.net>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Organization: SCSC
- References: <CGME20180815061554epcas3p4806e2cb2444ee67f4cb404ed2957a750@epcas3p4.samsung.com> <20180815054958.GA27844@ofb.net>
On Tue, 14 Aug 2018 22:49:58 -0700
<frederik@xxxxxxx> wrote:
> Dear Zsh Hackers,
>
> Sometimes completion is so laggy on my system that when I press TAB
> after e.g. "man perl", nothing seems to happen. So I press it again.
> Still nothing happens. Completion seems broken.
>
> Took me a while to figure out the problem. It's related to "setopt
> autolist" (which is on by default for me?).
>
> What happens is that if I just press TAB once, e.g. after "man perl",
> there is a one-second delay and a prompt "zsh: do you wish to see all
> 201 possibilities (51 lines)?". At this point I can press TAB again,
> which is equivalent to "y" I guess, and I see a list of completions.
One possibility would be if you had (presumably inadvertently) a
key with TAB as a prefix. Then it would delay to see if you're
going to type the full key stroke, and only execute the TAB binding
if you didn't. It's not very likely, but it's the best I can think
of.
If you run
bindkey | grep '\^I'
you'll probably see something like
"^I" complete-word
"^[^I" self-insert-unmeta
where the second isn't relevant as there's an ESC in front. If you
see something else starting with ^I that's a problem.
BTW this is probably more suitable for zsh-users where the larger
audience is more likely to have seen something similar.
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author