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: Thu, 03 Oct 2024 18:16:02 +0300 Message-ID: <8634ldz07h.fsf@gnu.org> References: <87seuqjuk4.fsf@melete.silentflame.com> <86r0aai1an.fsf@gnu.org> <8734ldxntq.fsf@melete.silentflame.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18440"; 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 Thu Oct 03 17:17:18 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 1swNZu-0004eA-AN for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Oct 2024 17:17:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1swNZf-0002YS-T1; Thu, 03 Oct 2024 11:17: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 1swNZc-0002Y6-WC for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2024 11:17: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 1swNZc-0002J1-K3 for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2024 11:17:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=0XXhUI3tbya3VReCyFHrLUYqGFZdTXR9oZ8QxOfiAQI=; b=JBFCQe9KThChB8bDiw0cHXpMOJHfZUP+FDPkMc4nXnmfBShwlhaHES6amV94UUMWwJwl27fbhkx84hOZjRcPeC5Vssv+8IC7u6aYqqB+C/c8J2N2wzoqEVCUb2X8uBqM1AORwA+zW986DNf0LsPi6zjQHF4UpVvGEUINSCYihENQgp/d5ou3gu3QLbInHTDpUtWPzSi3nKby0wDztewbqxlLP1sB7InzWOgj/YB0/oYlVlEk9cM812/OXfoEmMI2bBhwEEDHtFv6w8B6HKyHfHmfnBceBZYzFI1l9g0ugAnMyp0S66eKC7JZfORDqFt20dhRYBk8XIn4G7D/RQU3xA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1swNZe-0001ga-FS for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2024 11:17: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: Thu, 03 Oct 2024 15:17: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.17279685756402 (code B ref 72826); Thu, 03 Oct 2024 15:17:02 +0000 Original-Received: (at 72826) by debbugs.gnu.org; 3 Oct 2024 15:16:15 +0000 Original-Received: from localhost ([127.0.0.1]:33738 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swNYs-0001fC-Qy for submit@debbugs.gnu.org; Thu, 03 Oct 2024 11:16:15 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56628) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swNYq-0001ev-Mt for 72826@debbugs.gnu.org; Thu, 03 Oct 2024 11:16:13 -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 1swNYi-0002B8-Ht; Thu, 03 Oct 2024 11:16:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=0XXhUI3tbya3VReCyFHrLUYqGFZdTXR9oZ8QxOfiAQI=; b=sFYtbdUY++u+qaTmDxdq ja8JeBIjlMXmn3b/h5Xe7MkqJbFtuudYp9WcHYcldtBwhqxYu7JJvCpIobNmRW1Cb9AYxTZq7aXsu BpQlzUcdnSqfQCkOqfY2Je9rVbmBaasFWUbZ8dmJcRyhFm2RIUetD9tswEuIBLLZwl3LYkS0Acpv7 Bq40A1Ldoz5Vw8SCo6EcTu1qQarlYik6bsiwl01cj69VAXo+2LJAdYY21sF16rqJ/ler3c2Qd/Muz D1zg22VblkqWYWtk51co7R4h26t7gpzCNAFC4GP/KNy7Ocyo/1IAgbLbUX8YfUebR7a+DVlQGTEVK jHELXxpTKPRdfQ==; In-Reply-To: <8734ldxntq.fsf@melete.silentflame.com> (message from Sean Whitton on Thu, 03 Oct 2024 22:28:49 +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:292913 Archived-At: > From: Sean Whitton > Cc: 72826@debbugs.gnu.org, Juri Linkov , João Távora > > Date: Thu, 03 Oct 2024 22:28:49 +0800 > > 38958 93% - icomplete-post-command-hook > 38958 93% - icomplete-exhibit > 38819 93% - icomplete-completions > 38749 92% string-width > 43 0% + icomplete--sorted-completions > 27 0% buffer-string > 139 0% + sit-for > > I think the culprit is probably the evaulation of > (string-width (buffer-string)) in icomplete-completions. Does it help to disable auto-composition-mode?