From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.bugs Subject: bug#58839: [Patch] Re: bug#58839: 29.0.50; project-kill-buffer fails when Eglot is running Date: Sat, 29 Oct 2022 06:38:09 +0000 Message-ID: <87czab16em.fsf@posteo.net> 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> 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="19285"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58839@debbugs.gnu.org, Manuel Uberti , =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 29 08:39:24 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 1oofV4-0004sC-NV for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 29 Oct 2022 08:39:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oofUl-00064k-S4; Sat, 29 Oct 2022 02:39:04 -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 1oofUk-00063b-Lo for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2022 02:39:02 -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 1oofUk-0002SX-E9 for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2022 02:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oofUj-0002lP-Lb for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2022 02:39:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Oct 2022 06:39:01 +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.166702549910569 (code B ref 58839); Sat, 29 Oct 2022 06:39:01 +0000 Original-Received: (at 58839) by debbugs.gnu.org; 29 Oct 2022 06:38:19 +0000 Original-Received: from localhost ([127.0.0.1]:34836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oofU2-0002kO-VF for submit@debbugs.gnu.org; Sat, 29 Oct 2022 02:38:19 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:56339) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oofU0-0002k6-QO for 58839@debbugs.gnu.org; Sat, 29 Oct 2022 02:38:17 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 35E6C240028 for <58839@debbugs.gnu.org>; Sat, 29 Oct 2022 08:38:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1667025491; bh=x0JCDjSusjc1lShQnGCFd69Y9IrqgQ1sT+L1crE4X5Y=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=pbMjb1dYGx1ZqvTeb8KMN/79qJcCxx7je74uTRUiOtjK8JPI8jz257Bjv5Th/8ETC 1YxGO26g9VmTaiSHT4TZ+gSYPRlAH2gjmcmidbJGLaPOuxkMaL9Mf5/ZUptM5wchvo TlIb/Qudn09t9ukkf0t7jW8m3Aax94psRmnqWs0aOuiUyymD/BoaANJmzG0ttltzuo QfV1aAVBE/WXpfVkSsrgP5J7YOU0UBjt7KIg0FClGysOMOre+w13KItkOmF9epU7yZ a/gc5Z3gRTqsm/on2NcfJ1iktP2ijxKua3ov/7WTLViwHD4WTQuHb32/3ezyJ+Cujl NTv86O5teIfxQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MzqVV10m2z9rxQ; Sat, 29 Oct 2022 08:38:09 +0200 (CEST) In-Reply-To: <8e31a89d-e35e-6dd0-a8e3-f0b9684c8bfa@yandex.ru> (Dmitry Gutov's message of "Sat, 29 Oct 2022 04:09:13 +0300") Autocrypt: addr=philipk@posteo.net; prefer-encrypt=nopreference; keydata= mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB 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@gnu.org Xref: news.gmane.io gmane.emacs.bugs:246489 Archived-At: Dmitry Gutov writes: >> If you agree that >> there are such cases, then it should become clear that the buffer in >> question must be at the top of that list. > > I'm not sure. Intuitively, I'd say that this buffer belongs to the > project because it "services" the project.=20 This is my perspective too. I am under the impression that Jo=C3=A3o or looking at this from a too technical perspective, and is missing the way users perceive the situation. If it is currently not possible, then this is an issue not an excuse that we should tackle. IMO having Eglot integrate with project.el ought to be fine, since project is an Eglot dependency. > But if it were to work for > several projects at the same time, I suppose I could say it doesn't > belong to any particular one. In that case I think a kind of "project reference counter" should ensure that the server is only then killed when the last project using it is killed (and the right user options are set). (Btw., the tone of this discussion is a bit unpleasant, could we try and focus on the issue at hand and do our best to understand each other?)