bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#59153: List project buffers


From: Dmitry Gutov
Subject: bug#59153: List project buffers
Date: Thu, 10 Nov 2022 23:21:35 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]