From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 18951 invoked from network); 1 Aug 2021 16:24:58 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 1 Aug 2021 16:24:58 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1627835098; b=lOfi55Dz31Bx2wt4QtJmfPaqoetnymMk5+BSQ/9XvF4HmhDJKIFMBk7XLttCjjIiVc2zRuF0re AfOwjR9rWRvfvrR1qHI0P6MOU2cDY9xK7++hejht/70oaFpdc4B5FjFGDK6Sp1mL55MlASAC9n YPQuyf3ouvEy3OHaE7/CUtHfT504aIEgu/eguOZ7q+epXI4TrXhuI4n3FvL1kAe1d7W0sl5YhX 4WESTqRMon3blM7hPW6TcRZfA3wss31gTTcau4iB46BFgMlhcZll4pxlnOXEi4om6WtO9BzfSO EqQEB5AQBq39+bxiAZo2Wglnrl8TdY9VXUycKZzE10OGkA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (relay5-d.mail.gandi.net) smtp.remote-ip=217.70.183.197; dmarc=none header.from=chazelas.org; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1627835098; bh=SnbVM6dhEiZiZphHQDIDMaL37Ye9tRxL00He2g7MsIQ=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:To:From:Date:DKIM-Signature; b=xEPRUPXw8nWAM7lc958Kiklgi43826aoap+nsVMVLOQNlvvvZMJr0Q1Mf0B71j8v2IO7M+VxHc 4dDZcSwuBDjsLpUdgkvdeA12l7pDEOKyUHKUcW0Yfl1wvoTypFXtaTXhA4d4peaNqtipUf+FM1 NKEj5PJtjI47Sdnp7FpbrE4O2ZtOAsBM4NWr4RrTQxeJHrK2ScdQ8K92h+KmDPGRTXt8zYnUI5 OrnmsxSc31uJ/UzBXVFf0kygaozCkPL6w4SugJYZI8VYJHJMg+U0PEYQJrIl7inYA70Gmrfpyt XKZ5HyBh2i1BY9jx6bNDfE1uK0vth+fTLpeYt7IHsXKPew==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:To:From:Date:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=muWsFK4aYULQ2tEj8cbN/EfvJD+CgB/4YvpQmNPOTKg=; b=NzDDy6z7FPLX+Af+247rghpE6Y 5YrRr1gPODr0YKPRM3qsG4UmPwHo849S/7rMw9BrP0ey2sfEmKe4bseCDy5jtOzROoj9LgTLKskyS DFRYJlYQqEodKrsYFx0pfJbrMeSNnB4Ve2t+dQkNFSxwFyJOJ0z+pV+54hm6b0cmncI4pYHLxDQJm zMydlQrytb02o9g9sYLK24SBIPNnZfld5GMLADmOZYd/1Kq3nLZQavZVFYD/ome7jMmdMV5yHFFc0 mULry0H25Y7LH8Yxzd9NjoDRHAI/veL66SSSQo5R1jf0r09rtXhVxo38Vkw8GzqzV/r6JKHVJovrY FvHsZBfw==; Received: from authenticated user by zero.zsh.org with local id 1mAEGn-000I88-W5; Sun, 01 Aug 2021 16:24:58 +0000 Authentication-Results: zsh.org; iprev=pass (relay5-d.mail.gandi.net) smtp.remote-ip=217.70.183.197; dmarc=none header.from=chazelas.org; arc=none Received: from relay5-d.mail.gandi.net ([217.70.183.197]:42193) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1mAEGW-000HpM-O9; Sun, 01 Aug 2021 16:24:41 +0000 Received: (Authenticated sender: stephane@chazelas.org) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 607DD1C0007 for ; Sun, 1 Aug 2021 16:24:40 +0000 (UTC) Date: Sun, 1 Aug 2021 17:24:39 +0100 From: Stephane Chazelas To: Zsh hackers list Subject: Re: info completion doesn't offer index entries any longer Message-ID: <20210801162439.nfs6b7v6i2c6luqw@chazelas.org> Mail-Followup-To: Zsh hackers list References: <20210801160547.zf37spd5ui7dfj4a@chazelas.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210801160547.zf37spd5ui7dfj4a@chazelas.org> X-Seq: 49227 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: 2021-08-01 17:05:47 +0100, Stephane Chazelas: [...] > but even after that fixed (which causes the completion to be > very slow on my system as > > $ info -k '' | wc > 47919 267467 2341131 > ), > That still doesn't give me index entries. Same with [...] Actually, (once fixed) it does seem to work as intended in that it only uses the output of "info -k ''" to build a list of info nodes that are referenced in index entries, not the index entries themselves. That seems to be redundant with the parsing of info -o- that the completer does otherwise to retrieve the list of nodes (and which is much faster as it only covers the one manual the user is querying completion for). Evidence of that is that fixing that "info -k" to intended "info -k ''" doesn't seem to change much if at all the behaviour (but makes the completion significantly slower). Also, caching doesn't seem to work properly as "info -k ''" seems to be invoked every time. -- Stephane