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 13:53:05 +0300 Message-ID: <86r08wxhpq.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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30454"; 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 12:54:19 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 1swfww-0007lE-VJ for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 04 Oct 2024 12:54:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1swfwh-00056g-M7; Fri, 04 Oct 2024 06:54:03 -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 1swfwe-00056P-35 for bug-gnu-emacs@gnu.org; Fri, 04 Oct 2024 06:54:00 -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 1swfwd-0003E2-46 for bug-gnu-emacs@gnu.org; Fri, 04 Oct 2024 06:53: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=bAHnshfUaJpSkcTTzGcvXYAxHOl8LtsKfprStA32lVI=; b=niHj/gaOPJDNOB04TTWqBoYID38nB1nLns6BYt304FrBd37tU2WhdnHvUSL7Ot8dIfnI4yWEVll+ffiDcxRniDju433kAYCEnWyfFK9zLogsJXZHO3So2gyYo+4nV+Bn2057IGaTzcGFnGaB3uRO4LnvIiOCIa3aZqPplaKIMe1x3ss5EyxNv5VZ3z4SeIHBILK2JMlqvCfaavefzEXHOf7TaE0KAyIIARC2GZ8KB+ZcsJbbemEW86dvyhB3kX305IUxRPofDkVzec2Z2KyN6+eOWJe9Ez719T2oziFeTRjPF4/EhzlIUvq8pYOz1hLB8wbF6zyIG6IYPsUZU9ZHMA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1swfwg-0005eq-2p for bug-gnu-emacs@gnu.org; Fri, 04 Oct 2024 06:54:02 -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 10:54:02 +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.172803920521686 (code B ref 72826); Fri, 04 Oct 2024 10:54:02 +0000 Original-Received: (at 72826) by debbugs.gnu.org; 4 Oct 2024 10:53:25 +0000 Original-Received: from localhost ([127.0.0.1]:34468 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swfw1-0005dd-GZ for submit@debbugs.gnu.org; Fri, 04 Oct 2024 06:53:25 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33210) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swfvy-0005dM-Kr for 72826@debbugs.gnu.org; Fri, 04 Oct 2024 06:53:19 -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 1swfvp-00034c-HT; Fri, 04 Oct 2024 06:53:09 -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=bAHnshfUaJpSkcTTzGcvXYAxHOl8LtsKfprStA32lVI=; b=lmU4IB2LfguN AtngxAS5Xo1EgTXpa7eouKEiXQXq8ffZe1u2SQTw++l9wW5hSRisvs0vgqXcbdpEynwudpbvIv1uV po/+HmF168PhX61zqPBUNeQhUrkHFywJO7Wv1R+9+YwPLPWDU29KPeAyG5O2u+yW1/ECHqowV+0Om rMbv71ipEQCZU80f7Oij2lE+2m+Y4tjThLQ35+szF+6tPxBa9d0M64xIqStANU7zRRdK4hctZ97b7 GZuq1QWjsyRCBeZBf6B89L8i2MZBf+QoA7f5RPGIAgrH2XS1HnAaM0BsJmeUOIQkb+oAmM16ngSyj Bu8Gyo70fzl1RCOKZ5u2fA==; In-Reply-To: <871q0w44wu.fsf@melete.silentflame.com> (message from Sean Whitton on Fri, 04 Oct 2024 17:02:25 +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:292956 Archived-At: > From: Sean Whitton > Cc: joaotavora@gmail.com, 72826@debbugs.gnu.org, juri@linkov.net > Date: Fri, 04 Oct 2024 17:02:25 +0800 > > Cases where the old code and new code are different are when the > minibuffer prompt contains line breaks. The new code effectively > ignores all parts of the minibuffer prompt except its last line. I > think that's correct, and the old code could have calculated an overly > large width if previous lines of the minibuffer prompt were longer than > the final line. So you are saying that the old code never worked correctly for minibuffer prompts that include embedded newlines? Then how come no one complained about that before? This bug is not about incorrect result, it's about slow responses, and that's something entirely different.