[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#72019: [PATCH] Add project argument to project-kill-buffers
From: |
Spencer Baugh |
Subject: |
bug#72019: [PATCH] Add project argument to project-kill-buffers |
Date: |
Wed, 10 Jul 2024 14:30:02 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Spencer Baugh <sbaugh@janestreet.com>
>> Cc: 72019@debbugs.gnu.org
>> Date: Wed, 10 Jul 2024 13:42:40 -0400
>>
>> > If we want to signal an error, let's signal an error, but with an
>> > explicit error message explaining the problem. Doing that by adding
>> > an argument sounds risky, since it doesn't target this specific
>> > situation, and so installing on the release branch is not necessarily
>> > justified. Are you okay with diagnosing this specific situation and
>> > signaling an error explicitly in the code?
>>
>> I don't need this to be on the release branch. I'd prefer to add the
>> argument and just keep this on master.
>
> Why do you prefer to add an argument?
Because it is also nicer to explicitly indicate what project the Lisp
program is operating on. Going through project-current means there are
a number of possible bugs. Lisp programs should pass in the project
instance; this is preferred for new project.el-using code.
- 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, 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,
Spencer Baugh <=
- 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
- bug#72019: [PATCH] Add project argument to project-kill-buffers, Dmitry Gutov, 2024/07/11
- bug#72019: [PATCH] Add project argument to project-kill-buffers, Eli Zaretskii, 2024/07/12
- bug#72019: [PATCH] Add project argument to project-kill-buffers, Dmitry Gutov, 2024/07/15
- 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
- bug#72019: [PATCH] Add project argument to project-kill-buffers, Dmitry Gutov, 2024/07/11
- bug#72019: [PATCH] Add project argument to project-kill-buffers, Eli Zaretskii, 2024/07/12