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
View this message in rfc822 format
Eli Zaretskii <eliz <at> gnu.org> writes:
>> From: Spencer Baugh <sbaugh <at> janestreet.com>
>> Cc: 72019 <at> 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.
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.