From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20621 invoked by alias); 23 Jan 2014 12:10:28 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 18352 Received: (qmail 29061 invoked from network); 23 Jan 2014 12:10:15 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=Z9ZJTvw8Vr/bwiyQd/HADy54CtYzjcxZ4NgsK9muRFY=; b=vaK6wAounTl2a8mX4k7O48ahxRPbjMQ0WoOlttPVp6z9t1T1yHXMr/QS3XLStqqQXd X+T70BZyNCGvpKf8EZCTYn9c+jZ2gFWmMBnh2VRvmpYJY5pHHH8n4e9fQt9uf/+0GGjC /D29Rekt9VPaZikKphMlHAPPpk+9eKS63mJqzq+42+hBbduLyqEKMBFkF9IOzyokcNqF DsFiRmTUrja0Y0PI9H9Bxo+aBFfCeE2egUqxeI1ErhZiZbJ5B20eap064xNsa1lvKmTy ZQoGE7gLz1LfFWu/6xV/OKiU1cErKnZI75d22RUEXCB67WNP16J73Jiy2o7Qe+5NBrns +q3g== MIME-Version: 1.0 X-Received: by 10.68.43.101 with SMTP id v5mr7653755pbl.149.1390478695543; Thu, 23 Jan 2014 04:04:55 -0800 (PST) Sender: nikolai.weibull@gmail.com In-Reply-To: <140122000435.ZM1516@torch.brasslantern.com> References: <140122000435.ZM1516@torch.brasslantern.com> Date: Thu, 23 Jan 2014 13:04:55 +0100 X-Google-Sender-Auth: k2SR8a_5CICEuhaUexW5Y5CvNH0 Message-ID: Subject: Re: [Feature suggestion] (user configurable) timeout for generating completion lists From: Nikolai Weibull To: Bart Schaefer Cc: Zsh Users Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, Jan 22, 2014 at 9:04 AM, Bart Schaefer wrote: > On Jan 20, 4:13pm, Arseny Tolmachev wrote: > } > } Sometimes you press [Tab] by instinct when in directory that is > } network-mounted and has some millions files in it. > } In this situation zsh basically ignores the [Ctrl+C] and don't respond = to > } anything for a bit of time. > There are two possible situations here. (Probably more than two, but > only two likely ones.) > (1) The shell process is actually in "disk wait" condition, blocked to > wait for the NFS volume to respond. If this is the case, there's not > a lot that can be done; any timeout that might be set up will also be > held until the disk condition clears. Time to delegate completion to a subprocess? That=E2=80=99d make it possibl= e to use Zsh completions from outside the shell as well.