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 #80 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: Sun, 11 Dec 2022 20:35:24 +0200
On 11/12/2022 20:17, Eli Zaretskii wrote:
> 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.

While that should work, that change would *also* change the signature. 
Though in a safer way, yes.

Are you worried about some out-of-tree clients that started using the 
new feature in the meantime?

Otherwise, this change could be split into two steps:

- Rollback that signature to pre-commit 125b5684c (i.e. revert its part 
in buff-menu.el). This is something we usually considered to be safe.

- Add new change that allows BUFFER-LIST to be a function.




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.