From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.bugs Subject: bug#59935: 29.0.60; project-list-buffers is slow Date: Thu, 15 Dec 2022 17:58:06 +0300 Message-ID: References: <834ju3vyeb.fsf@gnu.org> <16e4e192-21f9-c46d-2e86-5c24fd4962b7@yandex.ru> <831qp7vx26.fsf@gnu.org> <723155fb-392e-8b51-6e15-07ff427067f6@yandex.ru> <4a0daa6b-4b4a-8db3-6689-d22f404e3ab8@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40478"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.2.9+54 (af2080d) (2022-11-21) Cc: Eli Zaretskii , 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 Thu Dec 15 15:59:41 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 1p5pi1-000AK2-Mn for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Dec 2022 15:59:41 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p5phQ-0006zl-QG; Thu, 15 Dec 2022 09:59: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 1p5phO-0006zO-Tc for bug-gnu-emacs@gnu.org; Thu, 15 Dec 2022 09:59: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 1p5phN-0003sr-TG for bug-gnu-emacs@gnu.org; Thu, 15 Dec 2022 09:59:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p5phN-00079W-Pf for bug-gnu-emacs@gnu.org; Thu, 15 Dec 2022 09:59:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Dec 2022 14:59: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.167111631327485 (code B ref 59935); Thu, 15 Dec 2022 14:59:01 +0000 Original-Received: (at 59935) by debbugs.gnu.org; 15 Dec 2022 14:58:33 +0000 Original-Received: from localhost ([127.0.0.1]:43145 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5pgu-00079F-Q1 for submit@debbugs.gnu.org; Thu, 15 Dec 2022 09:58:33 -0500 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:56623) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5pgs-000799-Kj for 59935@debbugs.gnu.org; Thu, 15 Dec 2022 09:58:31 -0500 Original-Received: from localhost ([::ffff:102.85.142.63]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 000000000005611E.00000000639B3617.00004D6A; Thu, 15 Dec 2022 07:58:31 -0700 Content-Disposition: inline In-Reply-To: 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:251104 Archived-At: * Dmitry Gutov [2022-12-13 23:32]: > > It iterates over results of list-buffers-noselect and among many > > buffers finds those Tramp buffers. But why those Tramp buffers start > > re-connecting I do not know. > > So 'M-x list-buffers' or 'C-x C-b' have the same effect? This is not > specific to project-list-buffers? Not, it is specific to project-list-buffers and not to list-buffers. > > For me this description below is not what that function does, as that > > function seem not to select properly. What are project buffers? Are > > they not files which are in directories specified as project? It seems > > that function is iterating over buffers not necessary to iterate. > > The answer to what buffers are project buffers is encoded in each project > backend's implementation of 'project-buffers'. > > The default considers non-file buffers as well. How do I define non-default? -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/