From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs 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 Message-ID: <8735b5wkl2.fsf@gmail.com> References: <87sfj8umwb.fsf@posteo.net> <87edur3lil.fsf@posteo.net> <87a65f3j40.fsf@posteo.net> <213f3549-de4e-25a7-5e27-d13893e557bc@yandex.ru> <87zgdfwkle.fsf@gmail.com> <8e31a89d-e35e-6dd0-a8e3-f0b9684c8bfa@yandex.ru> <87v8o3wgq1.fsf@gmail.com> <87ilk2x1si.fsf@gmail.com> <871qqq7l9p.fsf@posteo.net> <87eduqwekz.fsf@gmail.com> <87wn8invbx.fsf@posteo.net> <877d0iw8iq.fsf@gmail.com> <837d0hhlke.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4832"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: philipk@posteo.net, 58839@debbugs.gnu.org, manuel.uberti@inventati.org, dgutov@yandex.ru To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 30 13:40:22 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1op7by-00013o-5b for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 30 Oct 2022 13:40:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1op7bm-0006SB-OH; Sun, 30 Oct 2022 08:40:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1op7bk-0006Rx-1J for bug-gnu-emacs@gnu.org; Sun, 30 Oct 2022 08:40:08 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1op7be-0001Gq-9q for bug-gnu-emacs@gnu.org; Sun, 30 Oct 2022 08:40:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1op7be-0007iN-49 for bug-gnu-emacs@gnu.org; Sun, 30 Oct 2022 08:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Oct 2022 12:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58839 X-GNU-PR-Package: emacs Original-Received: via spool by 58839-submit@debbugs.gnu.org id=B58839.166713357929608 (code B ref 58839); Sun, 30 Oct 2022 12:40:02 +0000 Original-Received: (at 58839) by debbugs.gnu.org; 30 Oct 2022 12:39:39 +0000 Original-Received: from localhost ([127.0.0.1]:37494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1op7bH-0007hU-2Z for submit@debbugs.gnu.org; Sun, 30 Oct 2022 08:39:39 -0400 Original-Received: from mail-wr1-f46.google.com ([209.85.221.46]:37779) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1op7bF-0007hH-Kn for 58839@debbugs.gnu.org; Sun, 30 Oct 2022 08:39:38 -0400 Original-Received: by mail-wr1-f46.google.com with SMTP id bs21so12447242wrb.4 for <58839@debbugs.gnu.org>; Sun, 30 Oct 2022 05:39:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Tp6/f3GBOWH9Uk6fZ275wnjaxpeWBB8inbFG1kqVO/U=; b=pnSaXGVcvtZtdv5Ze0+TBFKDpjBUOhRrEk02h7hvHJkMr9gdVS4s1PxNAvTBz+41HA 0S2z4GTgqaMQTHMxb4ZR1F+yL2sA8gMMqq0OqU4mDNi3E9xR9I3r2WElk1oppX8K+Scg AuUNObO82PRW1gIldedf6kYc6DcQzP6VV34PiG1qRj3eI6txybqd6zp6svcPDW4ZEPix JLSpLebjKqlH3W09Pqjxfw6MbYX8xx/CAto9fW0wsLpSyvoJZUu9N4ogDEG2kmDeS/V4 5AAY43tqlJmRcgacdQWgJdowSyA/1tvGmj/nqi9aQJVNj1Zgg1wv2z+/YbVN3UscTnxX Qh2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Tp6/f3GBOWH9Uk6fZ275wnjaxpeWBB8inbFG1kqVO/U=; b=zG7gGXYvT8UxR7id7gfDGY+xckIkxVFJMnBB6YWrCjDww+yRwWs8BDOo+fuhk4l06t cPLsSV/FfBdziGT5uLsux83Zs+rSN210kDZVEU5iTWwkLLPbQVpqjSdEziomcWfzSAzH TAooohYAEo5ShQhtA6TUinngiM/V5evMFI4+zF9pJ1QHR69f4QXjkzjh788EjNxEI4/W ZczIyQ3nv6j4I+/aH+K9TLS9ve2ovrq7p1jBj83XLe/8mNOjreDuq2oi8GmFKg/5XdVe mZmbNMK8z5NGmiL0w++gfw4vo/hEgE4mqJLSBHjMxpFPCTefMjp4po1wSL0BlND4Pevw h0UA== X-Gm-Message-State: ACrzQf2NfduNvHwHzeA1RFkmrk94jpJIuHuEgCEK7DKo1pbPMzz8mcRz NSivfCg3JvvMDFtJw8aQDZk= X-Google-Smtp-Source: AMsMyM7Oe/WDEGfvs3j/zsQnT/o3nffkl1VI5RtfZ7/sGm4CieItvPO+Uy101JnNJ/8uC0Ihz+hhaA== X-Received: by 2002:a5d:6485:0:b0:236:4ed2:409c with SMTP id o5-20020a5d6485000000b002364ed2409cmr4868788wri.110.1667133571672; Sun, 30 Oct 2022 05:39:31 -0700 (PDT) Original-Received: from krug ([87.196.74.89]) by smtp.gmail.com with ESMTPSA id s12-20020a5d6a8c000000b002364c77bcacsm4099098wru.38.2022.10.30.05.39.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Oct 2022 05:39:31 -0700 (PDT) In-Reply-To: <837d0hhlke.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 30 Oct 2022 08:28:33 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: "bug-gnu-emacs" Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:246618 Archived-At: Eli Zaretskii 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=C3=A3o