GNU bug report logs -
#72019
[PATCH] Add project argument to project-kill-buffers
Previous Next
Reported by: Spencer Baugh <sbaugh <at> janestreet.com>
Date: Tue, 9 Jul 2024 18:32:01 UTC
Severity: normal
Tags: patch
Done: Dmitry Gutov <dmitry <at> gutov.dev>
Bug is archived. No further changes may be made.
Full log
Message #14 received at 72019 <at> debbugs.gnu.org (full text, mbox):
> Date: Tue, 9 Jul 2024 22:59:46 +0300
> From: Dmitry Gutov <dmitry <at> gutov.dev>
>
> Hi!
>
> On 09/07/2024 21:31, Spencer Baugh wrote:
> > Tags: patch
> >
> >
> > Previously, project-kill-buffers always called (project-current t). A
> > Lisp program could change what project project-kill-buffers operated
> > on by binding project-current-directory-override. However, in some
> > edge cases (for example, if the project was deleted between looking it
> > up and calling project-kill-buffers) this might fail to detect a
> > project, and so (project-current t) would prompt the user.
> >
> > To avoid this, accept the project to kill buffers for as an argument.
> >
> > * lisp/progmodes/project.el (project-kill-buffers): Take project as an
> > optional argument.
>
> LGTM.
>
> Eli, is this okay for emacs-30?
As I wrote a few minutes ago, I don't think I like this change in
principle, let alone for Emacs 30. Feel free to point out where I'm
wrong or what am I missing.
This bug report was last modified 312 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.