From: Dmitry Gutov <dmitry@gutov.dev>
To: mikpom <mikpom@mikpom.ru>, 71290@debbugs.gnu.org
Subject: bug#71290: Options for viewing project buffers
Date: Sat, 1 Jun 2024 18:27:45 +0300 [thread overview]
Message-ID: <82a4e2c5-5567-4f0d-91fe-56d1e1c0467d@gutov.dev> (raw)
In-Reply-To: <99d41a84966ab944056814a15e8f37a7f664697e.camel@mikpom.ru>
Hi!
On 31/05/2024 15:28, mikpom wrote:
> Greetings devs and emacs community.
>
> I occasionally need to list buffers of a project and do so with the
> built-in command project-list-buffers from project.el. The problem is
> that this command utilizes Buffer-menu mode and does so in a hard-coded
> way. Personally I prefer IBuffer which is already heavily customized
> while I have zero knowledge of Buffer-menu mode.
>
> I suggest to make an option whether project.el will list buffers with
> Ibuffer, Buffer-menu or even something else?
I'm happy to add a new option, but if you look at the definition of
project-list-buffers, it's not as trivial as
- bind default-directory
- call function
And ibuffer seems to require some effort as well. As a consequence, the
option is unlikely to be infinitely extensible, it would just list
'list-buffers' and 'ibuffers' as possible values. Maybe a "Custom
function" alternative too, but the users who would want to use it will
need to put it some work as well.
Speaking of ibuffer in particular, here's a hint of setup required to
use it for project buffers:
https://github.com/emacsmirror/ibuffer-project/blob/master/ibuffer-project.el
Of course, a lot of this could be optional (improvements to make the UI
better), so if someone wanted to contribute a minimal implementation, we
could certainly use it (just please don't copy the code from the above,
it's not copyright-assigned).
next prev parent reply other threads:[~2024-06-01 15:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-31 12:28 bug#71290: Options for viewing project buffers mikpom
2024-06-01 15:27 ` Dmitry Gutov [this message]
2024-06-01 16:07 ` mikpom
2024-06-05 4:00 ` mikpom
2024-06-09 2:42 ` Dmitry Gutov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=82a4e2c5-5567-4f0d-91fe-56d1e1c0467d@gutov.dev \
--to=dmitry@gutov.dev \
--cc=71290@debbugs.gnu.org \
--cc=mikpom@mikpom.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.