From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov 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 13:59:24 +0300 Message-ID: <5ea24d00-2461-7901-86d6-6bdb01f30020@yandex.ru> 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> <87czab16em.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30335"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Cc: 58839@debbugs.gnu.org, Manuel Uberti , =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= To: Philip Kaludercic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 29 13:00:27 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 1oojZi-0007l1-UT for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 29 Oct 2022 13:00:26 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oojZP-0000lu-9E; Sat, 29 Oct 2022 07:00:07 -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 1oojZM-0000le-0V for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2022 07:00:04 -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 1oojZK-0001Xl-IS for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2022 07:00:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oojZK-0003I7-4Z for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2022 07:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Oct 2022 11:00: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.166704117912591 (code B ref 58839); Sat, 29 Oct 2022 11:00:02 +0000 Original-Received: (at 58839) by debbugs.gnu.org; 29 Oct 2022 10:59:39 +0000 Original-Received: from localhost ([127.0.0.1]:35024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oojYw-0003H1-PL for submit@debbugs.gnu.org; Sat, 29 Oct 2022 06:59:39 -0400 Original-Received: from mail-wr1-f52.google.com ([209.85.221.52]:33494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oojYq-0003Gj-Gi for 58839@debbugs.gnu.org; Sat, 29 Oct 2022 06:59:37 -0400 Original-Received: by mail-wr1-f52.google.com with SMTP id h9so9643231wrt.0 for <58839@debbugs.gnu.org>; Sat, 29 Oct 2022 03:59:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=/R/FHV07JsHzibV0Il62r5tQF/BapS20vM5OprGQMRw=; b=O9fbn74Ej0vYgb9em3VWoinHj/CmviesJsLXk6IWr8Qg6pABRv8lS51Mwo2blYzhOV iV3EqJ87X1H/dEQwoGp2B+AKDpfbchcLq1Pl1jrAHKedSb8u69uQE59rPkKXrGBzfUfE nq6qHj8RVPlQwAK6w0otjKpvJCNr+3xo97uepLaMukChNj585jc0B63NMis8auWyVCrl JXqKWOY5zcIAV1L4kXUnVn+wkHM6annL+oE3/GXWUh5F3CRNdu3iG68Kf7LZjNy5VCX9 WDHGZo51LnSIG/L3Y0o0dEUozPWq/kKZtalTVSnkmO98bXSDBPYLcX6AIZBPqnaJUl1t U1Gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=/R/FHV07JsHzibV0Il62r5tQF/BapS20vM5OprGQMRw=; b=g683nAx2O4fgllZ2IyrMaCnOf8lN8V7FJG41kK5M2Uujvkl8O2l6VfVfK0d5L9unRy TQKzMII9Htzqmb3El0DEFw35+qGarAKIgevcyq1PZfpILI0uMzrYFOa6+Bc9W6/PHNoE jaEs9dN8eI8fZ0Y2soSPtfGicHqtMEf2smdiCTjJuFci9ZxgIkuLv1NLwYFeTEuXyhsi hKuHatrxkNJ9N4ANIBs8Sqy3KXqUtEFytg3Mh4Qf+v9L8L9Kfp+m30O9B+7w6D/6XctL 2ULNvczhEpntaw31fxjIVmHIaAijzFPSHNXxA5tx6Ioo3oWLakqBvB6YU46vQlWOzjtG CyXQ== X-Gm-Message-State: ACrzQf0BV4bEJjaftuf1UNZGyIlgOIBkRGywH8of/fFq6uOaIfoyOVYZ kSc6BLi/SCQR8zxX2+xCnM8= X-Google-Smtp-Source: AMsMyM4DveLiLIOfH4LfEY5cWSlpO35A8itpZRXEA3fDnaTh9KtheqdDB48A6AMe/+EI7jY2NlD6mw== X-Received: by 2002:adf:d089:0:b0:236:558b:abc8 with SMTP id y9-20020adfd089000000b00236558babc8mr2042465wrh.231.1667041166424; Sat, 29 Oct 2022 03:59:26 -0700 (PDT) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id u7-20020a05600c19c700b003c6c2ff7f25sm1375551wmq.15.2022.10.29.03.59.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 29 Oct 2022 03:59:26 -0700 (PDT) Content-Language: en-US In-Reply-To: <87czab16em.fsf@posteo.net> 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:246510 Archived-At: On 29.10.2022 09:38, Philip Kaludercic wrote: >> 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). I suppose. But that kind of arrangement would require a project-specific hook.