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

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

bug#41879: 28.0.50; [Patch]: Add project-switch-to-buffer in project.el


From: Dmitry Gutov
Subject: bug#41879: 28.0.50; [Patch]: Add project-switch-to-buffer in project.el
Date: Mon, 15 Jun 2020 23:55:16 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0

On 15.06.2020 20:45, Theodor Thornhill wrote:
I find this useful, and hope others will as well. I bind it myself to 'C-x p b'.

Sounds good.

The 'project--list-buffers' will not be part of the final patch, but I wanted 
to provide it so that you have a working example.

I see that the code uses project--completing-read-strict. I'm not entirely happy with that function, yet.

Have you tried calling read-buffer with a PREDICATE argument instead? That would require extracting some code from project--list-buffers (defined in Philip's patch), but it should be straightforward.





reply via email to

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