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#59935: 29.0.60; project-list-buffers is slow Date: Sun, 11 Dec 2022 12:54:48 +0200 Message-ID: <83y1retdl3.fsf@gnu.org> References: <83o7sby8yk.fsf@gnu.org> <33ee7805-b5ee-ce62-042f-d980184e327e@yandex.ru> <838rjfy0kx.fsf@gnu.org> <2fe25562-401b-1b7b-d3fd-8d0820f4567c@yandex.ru> <83h6y3wco8.fsf@gnu.org> <834ju3vyeb.fsf@gnu.org> <16e4e192-21f9-c46d-2e86-5c24fd4962b7@yandex.ru> <831qp7vx26.fsf@gnu.org> <6e848f0c-0bb2-af8a-ad13-7b43e08be7c6@yandex.ru> <83v8miv4x2.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27971"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59935@debbugs.gnu.org, juri@linkov.net To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 11 11:55:10 2022 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 1p4JzB-00075b-Jk for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 11 Dec 2022 11:55:09 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p4Jz5-0005Pa-BO; Sun, 11 Dec 2022 05:55:03 -0500 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 1p4Jz4-0005OH-I3 for bug-gnu-emacs@gnu.org; Sun, 11 Dec 2022 05:55:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p4Jz4-00027O-0b for bug-gnu-emacs@gnu.org; Sun, 11 Dec 2022 05:55:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p4Jz3-0000KK-St for bug-gnu-emacs@gnu.org; Sun, 11 Dec 2022 05:55:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 Dec 2022 10:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59935 X-GNU-PR-Package: emacs Original-Received: via spool by 59935-submit@debbugs.gnu.org id=B59935.16707560981247 (code B ref 59935); Sun, 11 Dec 2022 10:55:01 +0000 Original-Received: (at 59935) by debbugs.gnu.org; 11 Dec 2022 10:54:58 +0000 Original-Received: from localhost ([127.0.0.1]:46323 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4Jz0-0000K3-Bj for submit@debbugs.gnu.org; Sun, 11 Dec 2022 05:54:58 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43442) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4Jyy-0000Jo-B7 for 59935@debbugs.gnu.org; Sun, 11 Dec 2022 05:54:56 -0500 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 1p4Jys-0001Yw-C0; Sun, 11 Dec 2022 05:54:50 -0500 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=wljDkU5A1zVoPk6ncfAONyq+r5r8PdeDma1vIcS63Bg=; b=pTAerx5KPUjs w4bsI7rOSV52rqbnohOaXpxbs4av7gZNm2nfFNz0euJhexO/0LEnAWAbX6I0VRwOt6uuAGK02ZrJC 3Pqt2WyiJqDwwWVivFLVEm2v+J8HcHnpYkd1EZZG7pDwacGlzEW0dp1JNEGnl/Xy2iSlCKclTXXID MT4D+N43MluYXE0LgOIuLT9OLUkaz9XcqFnUG/xiSPUiu+0sASrmww3dcU3+LGuEUhCrtFLq5oV02 4dIZHG577FAKnCnW2zGyKT3sg0nXosaJYSDGJCQTXSEJnE/pvZZ7K32nOzts1UqRDaYCVQOTiLQhz ccU5gqBFt7g7chaytzFiUw==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4Jyr-0004n3-Rj; Sun, 11 Dec 2022 05:54:50 -0500 In-Reply-To: (message from Dmitry Gutov on Sun, 11 Dec 2022 12:23:13 +0200) 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:250594 Archived-At: > Date: Sun, 11 Dec 2022 12:23:13 +0200 > Cc: 59935@debbugs.gnu.org, juri@linkov.net > From: Dmitry Gutov > > The main problematic behavior (low performance) is exhibited by the > "latest" branch, which looks like this: > > (let ((pr (project-current t))) > (display-buffer > (if (version< emacs-version "29.0.50") > ;; ... > (list-buffers-noselect > arg nil (lambda (buf) (memq buf (project-buffers pr))))))) Yes, I see that. I still don't understand: this can easily be changed to call project-buffers just once. > > Anyway, I only entered this discussion because you asked about making > > some non-trivial changes on the release branch. If that is no longer > > an issue, I will gladly bow out of this. > > I expect Juri is going to argue for that later. For non-trivial changes > in buff-menu.el, no less. I will wait for his comments, then.