Subject: bug#59153: List project buffers

From: Dmitry Gutov <[email-masked]>
Date: Thu, 10 Nov 2022 23:21:35 +0200

On 09.11.2022 19:40, Juri Linkov wrote:
> There are project commands and keys corresponding
> to the most useful buffer commands:
> 
>    C-x k (kill-buffer)      - C-x p k (project-kill-buffers)
>    C-x b (switch-to-buffer) - C-x p b (project-switch-to-buffer)
> 
> What is still missing is a command to list project buffers:
> 
>    C-x C-b (list-buffers)   - C-x p C-b (project-list-buffers)

This is fine with me, thank you.

> +;; UNUSED?
>   (defun project--buffer-list (pr)
>     "Return the list of all buffers in project PR."
>     (let ((conn (file-remote-p (project-root pr)))

And this is a good catch. Apparently the common project buffer 
enumeration logic is now missing the file-remote-p related speedup we 
added for 
https://lists.gnu.org/archive/html/emacs-devel/2021-05/msg00152.html.

I wonder if it's still relevant, that's worth retesting.