GNU bug report logs - #58839
29.0.50; project-kill-buffer fails when Eglot is running

Previous Next

Package: emacs;

Reported by: Philip Kaludercic <philipk <at> posteo.net>

Date: Fri, 28 Oct 2022 12:58:01 UTC

Severity: normal

Found in version 29.0.50

Full log


View this message in rfc822 format

From: João Távora <joaotavora <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: philipk <at> posteo.net, 58839 <at> debbugs.gnu.org, manuel.uberti <at> inventati.org, dgutov <at> yandex.ru
Subject: bug#58839: [Patch] Re: bug#58839: 29.0.50; project-kill-buffer fails when Eglot is running
Date: Sun, 30 Oct 2022 12:40:41 +0000
Eli Zaretskii <eliz <at> gnu.org> writes:

>> 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.

I'd just like state, if there was any doubt, that project.el is a
fantastic and long-awaited addition to Emacs.  The design is generally
great and for one it enabled Eglot to integrate very well.  So I am
quite thankful to Dmitry and its maintainer.  The new project-wide
commands (project-find-file, project-switch-to-buffer,
project-kill-buffers) are really very useful, and I'm learning to use
them.  But this point of "which buffers belong to projects" seems off.
Not by a terrible lot, but definitely off the way it is.  This
discussion has revealed some of its flaws.  There's still time to adjust
the design before Emacs 29.

João




This bug report was last modified 2 years and 279 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.