bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#58839: [Patch] Re: bug#58839: 29.0.50; project-kill-buffer fails whe


From: Dmitry Gutov
Subject: bug#58839: [Patch] Re: bug#58839: 29.0.50; project-kill-buffer fails when Eglot is running
Date: Sun, 30 Oct 2022 17:58:18 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2

On 30.10.2022 08:28, Eli Zaretskii wrote:
Cc: Manuel Uberti<manuel.uberti@inventati.org>,58839@debbugs.gnu.org,
  Dmitry Gutov<dgutov@yandex.ru>
From: João Távora<joaotavora@gmail.com>
Date: Sat, 29 Oct 2022 23:49:01 +0100

Have you considered the converse approach which is to be conservative?
It doesn't have these drawbacks.  In your project buffer's bucket put
only non-earmuffed, non-hidden, file-visiting buffers automatically.
Those are relatively safe.  Then have a buffer-local variable for
packages to opt into -- not opt out of -- your scheme.
I believe I made a similar argument with Dmitry back when project.el
was added to Emacs.  Dmitry didn't like my suggestion back then, and I
have doubts that he changed his mind.

Do you have a link to that message? Details matter.

Anyway, if we do decide to flip the switch, it should be through project-kill-buffer-conditions, so the user can make a different choice through customization.

So far we have 2:1 votes against that, though.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]