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: Sat, 05 Oct 2024 10:16:49 +0300 Message-ID: <86zfnjvx26.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> <86frpcx7ip.fsf@gnu.org> <87cykfxuu3.fsf@melete.silentflame.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34175"; 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 Sat Oct 05 09:18:41 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 1swz3o-0008j7-Fx for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 05 Oct 2024 09:18:40 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1swz3H-0002Wo-C1; Sat, 05 Oct 2024 03:18:07 -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 1swz39-0002Vv-Er for bug-gnu-emacs@gnu.org; Sat, 05 Oct 2024 03:17:59 -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 1swz39-00085h-6S for bug-gnu-emacs@gnu.org; Sat, 05 Oct 2024 03:17:59 -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=q46UeRfzh8nRqNOycxkPVI2vUF7z6/Hx/YVfVveN0eA=; b=h8Gl5oIZO21zXb5GDe5kWEw6l3l0DFw0HA7n/fDgS4LUmQh3zS3UA6Kp0fDqs5y8gdGl8Mu8u+KM/DufBw+c0VOt2Rqc6fM9DG7bvT+vzcu7dvrNpiqFepu80Wa5PLUblPWs8gI/dehezl4Td9CJc5PNKgZNVpIRLuucrnDHNhnbLMPpRw/YXDmoIyZ1H91L+NiXFoNIDL4PpU2YEEwllSQ5BN/Eg9/djCASUdQCuCiKRQ+FI/AgRUxt/zioYE1lpnXFM8RT8pZnHWFNk1H4yAWIqG22AJnrl4aC4awmSVUznazfMwzt1dt/4AJ4D5sXuxRDADKQqbA9TRnF2TjC0Q==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1swz3D-0003f8-31 for bug-gnu-emacs@gnu.org; Sat, 05 Oct 2024 03:18:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Oct 2024 07:18:03 +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.172811262813979 (code B ref 72826); Sat, 05 Oct 2024 07:18:03 +0000 Original-Received: (at 72826) by debbugs.gnu.org; 5 Oct 2024 07:17:08 +0000 Original-Received: from localhost ([127.0.0.1]:37159 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swz2K-0003dP-G1 for submit@debbugs.gnu.org; Sat, 05 Oct 2024 03:17:08 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swz2F-0003cl-HL for 72826@debbugs.gnu.org; Sat, 05 Oct 2024 03:17:07 -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 1swz24-00081B-1D; Sat, 05 Oct 2024 03:16:52 -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=q46UeRfzh8nRqNOycxkPVI2vUF7z6/Hx/YVfVveN0eA=; b=mymbrFK6nu5Y nbeaQGP/6ZxRt3lhmH4XQ5oHJWD1WQZkavo2LUInsQ//m3WnWGCtcRe7jyD/X77cCNsc9BjflcIwg dlJ46izCndI64t8Gfc2CLMA5X4YbCBdV+tyPj/XasJipxWivv+/7L2zRBghw24LgSeMJOYBM4Vj/8 JGv/+Eu1sZ48xo2NzdBpRA/cQLQXUd8iIloKiqV7c9ZdyZd/ZPBKF2pE8LLOR/6TGwvgseb+xJsoN Sq6h6W68hX/fZSub4dT4lqOowE4u/3uFyv5h89nk/eewG/+BQ93II7ppXHpc51YRAkK2BnEA2hzn7 JBUTNsprilFmklY+QNdEAQ==; In-Reply-To: <87cykfxuu3.fsf@melete.silentflame.com> (message from Sean Whitton on Sat, 05 Oct 2024 08:21:56 +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:293002 Archived-At: > From: Sean Whitton > Cc: joaotavora@gmail.com, 72826@debbugs.gnu.org, juri@linkov.net > Date: Sat, 05 Oct 2024 08:21:56 +0800 > > On Fri 04 Oct 2024 at 05:33pm +03, Eli Zaretskii wrote: > > > 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? > > It's expected, indeed. The explanation for all the cases you ask about > here is that the parts of the algorithm subsequent to the computation of > prospects-max do not try especially hard to fill up prospects-max. > > My patch to address this bug only attempts to correct the computation of > prospects-max, not to make any change to how that value is subsequently > used. If you think the latter should be changed, I think that should be > a separate bug report. (Speaking as a longterm Icomplete user, I don't > especially think it needs to change.) Thanks, I'm convinced. Please install your changes.