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: Mon, 12 Dec 2022 20:22:28 +0200 Message-ID: <83bko8qy6z.fsf@gnu.org> References: <86a63vi2lu.fsf@mail.linkov.net> <4a78ffcc-15fb-27ac-48b9-82fe84c596aa@yandex.ru> <86bko9na29.fsf@mail.linkov.net> <83bko9u8yy.fsf@gnu.org> <0c3df029-1e0b-7965-59c2-062018a0af7a@yandex.ru> <838rjdu7np.fsf@gnu.org> <3eb92bd5-7552-0529-19a7-b9db315b382a@yandex.ru> <83359lu5o6.fsf@gnu.org> <70602760-546c-0c7c-b4a9-fdfe8d2c4e5e@yandex.ru> <83wn6xsme7.fsf@gnu.org> <86359ksj29.fsf@mail.linkov.net> <83mt7sr0pu.fsf@gnu.org> <86k02wpl1n.fsf@mail.linkov.net> <83h6y0qyqv.fsf@gnu.org> <86pmcoo5ex.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30607"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59935@debbugs.gnu.org, dgutov@yandex.ru To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 12 19:23:09 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 1p4nSF-0007h1-AX for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 12 Dec 2022 19:23:07 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p4nSB-000718-VW; Mon, 12 Dec 2022 13:23: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 1p4nSA-00070m-Kf for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2022 13:23: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 1p4nSA-0004G3-AB for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2022 13:23:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p4nS9-00025u-Tg for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2022 13:23: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: Mon, 12 Dec 2022 18:23: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.16708693548025 (code B ref 59935); Mon, 12 Dec 2022 18:23:01 +0000 Original-Received: (at 59935) by debbugs.gnu.org; 12 Dec 2022 18:22:34 +0000 Original-Received: from localhost ([127.0.0.1]:54552 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4nRi-00025N-7G for submit@debbugs.gnu.org; Mon, 12 Dec 2022 13:22:34 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40978) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4nRg-00025F-QK for 59935@debbugs.gnu.org; Mon, 12 Dec 2022 13:22:33 -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 1p4nRb-0004D6-24; Mon, 12 Dec 2022 13:22:27 -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=x1E2Xxe7yf3+HFR8FfEwUHNzpLG2YNqRp3yJZTsbbTU=; b=k6O+y12Qu8R/ 01mo8QGs8C8U1d/5BPDsiSxKMyktrqZ77yTEGr9PXhyDjN6nbqqeWb71BI+9y7EUYIFkWdj9mnEkk lkRahiokGT+8QwOIlMGAT+bbaheDGRZeFjuwfBSpooaRUTLX4ogkGAhOTSTI3QKbyELjUifrcTH3Q 8e3MV5eziY+ULWgTNMUwj+R5xXfQ9WJ9pUj+xuy977+YzE32ZhCYdq+aWY0L2qblamfUeUmAlUK7k Q4xN0/ZkKgR1u+bPTsxI+XXJA2uJmKLgN1anzTTVYKSl428Tzd/EZcS6u9Fqlc3NcwZG2Y3a/UMwH I+1aaKviogQBvBLryikVZA==; 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 1p4nRa-0007LN-Ai; Mon, 12 Dec 2022 13:22:26 -0500 In-Reply-To: <86pmcoo5ex.fsf@mail.linkov.net> (message from Juri Linkov on Mon, 12 Dec 2022 20:14:46 +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:250740 Archived-At: > From: Juri Linkov > Cc: dgutov@yandex.ru, 59935@debbugs.gnu.org > Date: Mon, 12 Dec 2022 20:14:46 +0200 > > >> Why not leave alone that additional PREDICATE argument of > >> list-buffers-noselect, and add a feature where the BUFFER-LIST > >> argument could be a function? That's be a compatible change. Just > >> keep the PREDICATE argument and the code which supports it, and > >> document that if PREDICATE is a function, BUFFER-LIST cannot be a > >> function. > > > > Note the last sentence. Doesn't it resolve the difficulty in a > > reasonable way? > > Then support for a function in BUFFER-LIST should be implemented > in emacs-29? (while keeping the recently added PREDICATE argument) Yes. Why not? It cannot possibly hurt any existing callers, because they won't use a function. Right?