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:10:32 +0200 Message-ID: <83h6y0qyqv.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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6179"; 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:11:11 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 1p4nGh-0001Nx-Am for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 12 Dec 2022 19:11:11 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p4nGa-0000FP-6c; Mon, 12 Dec 2022 13:11:04 -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 1p4nGY-0000Es-R1 for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2022 13:11: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 1p4nGY-0000EV-J2 for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2022 13:11:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p4nGY-0001wD-EZ for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2022 13:11:02 -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:11:02 +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.16708686417436 (code B ref 59935); Mon, 12 Dec 2022 18:11:02 +0000 Original-Received: (at 59935) by debbugs.gnu.org; 12 Dec 2022 18:10:41 +0000 Original-Received: from localhost ([127.0.0.1]:54484 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4nGD-0001vs-0D for submit@debbugs.gnu.org; Mon, 12 Dec 2022 13:10:41 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59022) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4nG8-0001vk-43 for 59935@debbugs.gnu.org; Mon, 12 Dec 2022 13:10:39 -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 1p4nG2-000098-A6; Mon, 12 Dec 2022 13:10:30 -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=cgkcFJCaVNhaTHn/hlvtNrcSsbnSDOwPJ8ZaG0iFbVA=; b=Avzj4mTDR6wE iIaNQDSqOLQ2zgXaMTKNjIjWkQ96dt6rypdsXIAfvKFkEG3MMyrcOjBYFkkkx4rwF+sKB80J1rhAU TXBpKxix4jfCrOd362QTyAGE3nUCEebpLT8J8Cu4DvTukAp88yWgtACSHaFBa1cgSMQd0mpT8jOM/ KRvkzm/KBvEgCBfNFie2QhdNmsRrqAjsKIE3XhmQElVjduzMqpuDTX8JhliMOoSyo/ycTirzZH9gU e+koHKfeJZJM3p3kGJL6b8uNCGH4di2C8b/9du+pum/O8mQIP9XxzzcBOasPphYqzn0w6X/aRc5jy 6U/d+65NNl9ryjhKjS9NOA==; 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 1p4nG1-0005fH-Gc; Mon, 12 Dec 2022 13:10:29 -0500 In-Reply-To: <86k02wpl1n.fsf@mail.linkov.net> (message from Juri Linkov on Mon, 12 Dec 2022 19:51:48 +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:250737 Archived-At: > From: Juri Linkov > Cc: dgutov@yandex.ru, 59935@debbugs.gnu.org > Date: Mon, 12 Dec 2022 19:51:48 +0200 > > >> +** The argument FILTER-PREDICATE of 'list-buffers-noselect' is obsolete now. > >> +It will be removed in next versions. > > > > I thought we wanted to make the command faster in Emacs 29. I very > > much doubt that deprecation of an argument will have that effect. > > > > I'm also not sure I agree with obsoleting and removing that argument. > > We don't have enough justification for that, not yet. That it was > > introduced for a particular use case, and that use case no longer uses > > it, doesn't mean there won't be others. After all, we don't introduce > > additional arguments unless we think it will be useful in more than > > one case. > > Having both FILTER-PREDICATE and BUFFER-LIST-FUNCTION is too problematic. > Which one should take priority over another when both specified? I thought I answered that in my original proposal: > 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?