From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#72826: 30.0.90; icomplete-in-buffer becomes unusably slow in large Eshell Date: Fri, 04 Oct 2024 17:33:18 +0300 Message-ID: <86frpcx7ip.fsf@gnu.org> References: <87seuqjuk4.fsf@melete.silentflame.com> <86r0aai1an.fsf@gnu.org> <8734ldxntq.fsf@melete.silentflame.com> <8634ldz07h.fsf@gnu.org> <87frpcwwge.fsf@melete.silentflame.com> <86y134xuqx.fsf@gnu.org> <871q0w44wu.fsf@melete.silentflame.com> <86r08wxhpq.fsf@gnu.org> <87a5fkyvuk.fsf@melete.silentflame.com> <86o740xeyy.fsf@gnu.org> <87bk00x8lp.fsf@melete.silentflame.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22648"; mail-complaints-to="usenet@ciao.gmane.io" Cc: joaotavora@gmail.com, 72826@debbugs.gnu.org, juri@linkov.net To: Sean Whitton Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 04 16:34:31 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1swjO3-0005kc-6f for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 04 Oct 2024 16:34:31 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1swjNl-00080V-OU; Fri, 04 Oct 2024 10:34:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1swjNY-0007zy-Gm for bug-gnu-emacs@gnu.org; Fri, 04 Oct 2024 10:34:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1swjNX-0004up-Hu for bug-gnu-emacs@gnu.org; Fri, 04 Oct 2024 10:34:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=yXoNVnCyfoOrWHnyYmY0MwLbmq/fa+Et+hRP1QH3mzk=; b=Q4f0uv5Sy/LWwJmc/4eG23s713Da9f6cLMvgbCP5LGuUuaH0vY4Ccr1Ww+9Z6L3fWvIlxg+NhDmcvRlP5+hBVeYq2GuzpBRQIG1z1jaNmBcNa1nv+v5tn7rg6XolkBg6zufWrqe/6qDu7q0ODZ04oVR4+ej5J/0BqZJO0rB17sj0PySJlRKgcwYO/v+07IqI57hZ5bz9LvIfRchwGryVtw2t5RfGbRquZNeLh3lHiMM7ulB0tVHKNIhd6cMgGb5PQ2Jo1Prav5aI0ErHYPxjhLX8s50ctYJqOCOxxD3TaMIC6o64A4cQRfa7wRbG2tqDKfhSQMUMx6GfrS/z4KJr8w==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1swjNZ-0001E3-T1 for bug-gnu-emacs@gnu.org; Fri, 04 Oct 2024 10:34:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Oct 2024 14:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72826 X-GNU-PR-Package: emacs Original-Received: via spool by 72826-submit@debbugs.gnu.org id=B72826.17280524164670 (code B ref 72826); Fri, 04 Oct 2024 14:34:01 +0000 Original-Received: (at 72826) by debbugs.gnu.org; 4 Oct 2024 14:33:36 +0000 Original-Received: from localhost ([127.0.0.1]:36178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swjN9-0001DG-Mg for submit@debbugs.gnu.org; Fri, 04 Oct 2024 10:33:35 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56554) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swjN7-0001D4-Kt for 72826@debbugs.gnu.org; Fri, 04 Oct 2024 10:33:34 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1swjMx-0004qk-Uq; Fri, 04 Oct 2024 10:33:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=yXoNVnCyfoOrWHnyYmY0MwLbmq/fa+Et+hRP1QH3mzk=; b=lXP7f49LMQUC zRs/IqPpU27Fd+OcVswl6AO0bMu8YUWxtV+7UPaRd4WVY9WN1H65/BZ4YK0Aqv47MGS6Z1kdoYtkN E/CNfTPC7Xg8+dH0UBsm28TWGyLeZxpy8kks8cT8wVfNi7kQq0jCVGat4eUwCXsawFdpw0TLqoEV9 8iS6TvixwPsPiaekmaaXETdOw/hhqQMZTWbUP8s7IdHc6tZCRCU8sKq3ZbZWUbaHc24A0ZC3ye9NY ANJKuN51ZawbpXsgHFeNH7rO48Evpn+gmX0k4zoTsz7OqBsFyUQr4MAKdpkFde3VU2lny+l2B1cJ0 cxz6y9N0Ar84bIZ1w31Lcg==; In-Reply-To: <87bk00x8lp.fsf@melete.silentflame.com> (message from Sean Whitton on Fri, 04 Oct 2024 22:09:54 +0800) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:292969 Archived-At: > From: Sean Whitton > Cc: joaotavora@gmail.com, 72826@debbugs.gnu.org, juri@linkov.net > Date: Fri, 04 Oct 2024 22:09:54 +0800 > > This is wrong -- fewer candidates are displayed than there is space for, > and there is a big empty gap. > > I believe this supports my analysis and the patch I posted. Thanks. But the difference between the two cases is larger than the difference between the first and the second line of the prompt. How do you explain that? Also, why doesn't the first image show more candidates, so as to use all of the second screen line in the mini-window? is that expected? But if your analysis is correct, does the value returned by string-pixel-width divided by default-font-width produce the correct result?