GNU bug report logs - #59935
29.0.60; project-list-buffers is slow

Previous Next

Package: emacs;

Reported by: Dmitry Gutov <dgutov <at> yandex.ru>

Date: Sat, 10 Dec 2022 01:50:02 UTC

Severity: normal

Fixed in version 29.0.60

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 59935 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 59935 <at> debbugs.gnu.org, juri <at> linkov.net
Subject: Re: bug#59935: 29.0.60; project-list-buffers is slow
Date: Sat, 10 Dec 2022 13:37:37 +0200
On 10/12/2022 13:12, Eli Zaretskii wrote:
>> Date: Sat, 10 Dec 2022 12:47:38 +0200
>> Cc:59935 <at> debbugs.gnu.org,juri <at> linkov.net
>> From: Dmitry Gutov<dgutov <at> yandex.ru>
>>
>>> If so, I don't understand why a
>>> trivial change to project-list-buffers could not call project-buffers
>>> just once, and then reuse the value in the call to
>>> list-buffers-noselect both as the BUFFER-LIST argument and (if needed)
>>> in the FILTER-PREDICATE argument, using memq.
>> If we just do that, pressing 'g' will only show the buffers that
>> belonged to the project when project-list-buffers was called. And not
>> necessarily the*current*  list of project buffers.
>>
>> The previously attached patches solved that problem.
> I don't understand: how is 'g' relevant?  You were talking about
> 'C-x p C-b' in your original message.

'C-x p C-b' creates a buffer which lists buffers. It also sets up 
revert-buffer-function in that buffer.

And pressing 'g' in that new buffer should supposedly refresh that list 
of buffers appropriately.




This bug report was last modified 2 years and 215 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.