[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#72019: [PATCH] Add project argument to project-kill-buffers
From: |
Eli Zaretskii |
Subject: |
bug#72019: [PATCH] Add project argument to project-kill-buffers |
Date: |
Wed, 10 Jul 2024 14:19:31 +0300 |
> From: Spencer Baugh <sbaugh@janestreet.com>
> Date: Tue, 09 Jul 2024 14:31:11 -0400
>
> 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.
That sounds like sweeping some minor bug under the carpet, or worse.
Why is it a good idea to silently second-guess what is TRT in these
marginal cases? Up front, I'd say asking the user is a safer bet.
- bug#72019: [PATCH] Add project argument to project-kill-buffers, Spencer Baugh, 2024/07/09
- bug#72019: [PATCH] Add project argument to project-kill-buffers, Dmitry Gutov, 2024/07/09
- bug#72019: [PATCH] Add project argument to project-kill-buffers,
Eli Zaretskii <=
- bug#72019: [PATCH] Add project argument to project-kill-buffers, Spencer Baugh, 2024/07/10
- bug#72019: [PATCH] Add project argument to project-kill-buffers, Eli Zaretskii, 2024/07/10
- bug#72019: [PATCH] Add project argument to project-kill-buffers, Spencer Baugh, 2024/07/10
- bug#72019: [PATCH] Add project argument to project-kill-buffers, Eli Zaretskii, 2024/07/10
- bug#72019: [PATCH] Add project argument to project-kill-buffers, Spencer Baugh, 2024/07/10
- bug#72019: [PATCH] Add project argument to project-kill-buffers, Eli Zaretskii, 2024/07/10
- bug#72019: [PATCH] Add project argument to project-kill-buffers, Spencer Baugh, 2024/07/10
- bug#72019: [PATCH] Add project argument to project-kill-buffers, Eli Zaretskii, 2024/07/10
- bug#72019: [PATCH] Add project argument to project-kill-buffers, Dmitry Gutov, 2024/07/10
- bug#72019: [PATCH] Add project argument to project-kill-buffers, Eli Zaretskii, 2024/07/11