GNU bug report logs -
#58933
28.2; project-buffers should take an optional filter
Previous Next
Reported by: Sean Devlin <spd <at> toadstyle.org>
Date: Mon, 31 Oct 2022 22:05:02 UTC
Severity: normal
Found in version 28.2
Done: Philip Kaludercic <philipk <at> posteo.net>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 58933 <at> debbugs.gnu.org (full text, mbox):
Hi Sean,
On 01.11.2022 00:04, Sean Devlin wrote:
> Project.el provides a function project-buffers that returns a list of
> buffers associated with the given project. The list is unfiltered,
> meaning any program using it will have to do some work to pick out the
> buffers of interest. It would be useful if the function had an optional
> argument to do this work.
>
> Project.el already has a function project--buffer-check that validates a
> buffer against a list of conditions. Maybe it should be wired into
> project-buffers to do the job of filtering?
There is also 'match-buffers' and 'buffer-match-p' in the core Emacs
starting with Emacs 29 (should also be available with the 'compat' package).
What do you think about these alternatives?
We could indeed add a new argument, but perhaps it won't made as much of
a difference, given those options.
This bug report was last modified 2 years and 258 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.