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#74461: [PATCH] Add go-work-ts-mode Date: Mon, 23 Dec 2024 05:31:10 +0200 Message-ID: <22538f1e-996d-4115-8948-75cca922244e@gutov.dev> References: <87ttbzd16p.fsf@disroot.org> <86jzcl81py.fsf@gnu.org> <877c8l55he.fsf@disroot.org> <1C8B596E-785F-435D-AFEA-A2382FDA6AD8@disroot.org> 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="20037"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: dev@rjt.dev, Eli Zaretskii , 74461@debbugs.gnu.org To: Stefan Monnier , Gabriel Santos Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 23 04:32:19 2024 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 1tPZB4-00054x-HO for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 23 Dec 2024 04:32:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPZAt-0004GP-Am; Sun, 22 Dec 2024 22:32:07 -0500 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 1tPZAq-0004F9-JU for bug-gnu-emacs@gnu.org; Sun, 22 Dec 2024 22:32:05 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tPZAp-0005ga-3O for bug-gnu-emacs@gnu.org; Sun, 22 Dec 2024 22:32:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=iTvJBZrN2w6bH2yJA3BChvaxaE90snizeOxNI602LtY=; b=RleBypi9nDBsHcRGGGjSyOnz8ZiynwQoNVDYGkP1CKcLZuPjN5dfS8jiGwz20T89QmwWtfmGbJGEFFFr9q4g8TpZBSleJmk8DhxsymHlyOw89cJ7tR0YzeeaBHgIvEvGlY6VO+ZzklE9cXeRcOS/bOVr7JcKlE7w0gUk8woW1nh2COtEmj7Nkhlre8g17u6Lzt4fsYQ4gMfs8SwcnVdnm8BrRcACSCbQEi7sLeQcFpHPV1xjdfWtAT3DeY0g3xwTq41R7tbq9lzI5H4lV2vCxB0DcP9dtl27c81ZqsMxCMeT4aqZpdCGp4xuYR4Byp1ESMbrxqsPEqTUjLuf1YgCew==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tPZAn-00024v-Vn for bug-gnu-emacs@gnu.org; Sun, 22 Dec 2024 22:32:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Dec 2024 03:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74461 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 74461-submit@debbugs.gnu.org id=B74461.17349246857939 (code B ref 74461); Mon, 23 Dec 2024 03:32:01 +0000 Original-Received: (at 74461) by debbugs.gnu.org; 23 Dec 2024 03:31:25 +0000 Original-Received: from localhost ([127.0.0.1]:52744 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPZAD-00023x-22 for submit@debbugs.gnu.org; Sun, 22 Dec 2024 22:31:25 -0500 Original-Received: from fhigh-a5-smtp.messagingengine.com ([103.168.172.156]:50257) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPZAA-00023d-EM for 74461@debbugs.gnu.org; Sun, 22 Dec 2024 22:31:23 -0500 Original-Received: from phl-compute-06.internal (phl-compute-06.phl.internal [10.202.2.46]) by mailfhigh.phl.internal (Postfix) with ESMTP id C02C7114008D; Sun, 22 Dec 2024 22:31:16 -0500 (EST) Original-Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-06.internal (MEProxy); Sun, 22 Dec 2024 22:31:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1734924676; x=1735011076; bh=iTvJBZrN2w6bH2yJA3BChvaxaE90snizeOxNI602LtY=; b= gGEBETj5Sa6WP4F4/56dDSw8jPJY0tsT2Kez07NIhZtcZYp3Q/GFFDxmn8XtDxZ8 2cljyJgO2lX+H0AKbJezvVGr1gII7i45EJh9NYiggQ3H7gX8/AL2qaDwI+04rVjz 6tRQzCfsuAsXMuwq3n0g1ub9fB2XdRrdo78MBUkJSMSFq9wBWW1YjfAtmoqg3APO 2vBLxIZvpI6xSphEj7F3zG8aYz/PFjnQWD82wYZqaOnDad+FueE/uH6PRKFSB1q9 2vkaxbOxD7OxXcGrZBd59Dieax1B424O4nn166bv7eQomNfUziDIq51L5myvw2ZY XiR699l0k9UvJ4EUY44tEA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1734924676; x= 1735011076; bh=iTvJBZrN2w6bH2yJA3BChvaxaE90snizeOxNI602LtY=; b=b GR1p+C6EaTXm447NydoDEzcc4hz+Vjvaa9VOtDd8T74GI4QIlO3FCFruwQfbyKBD VPhb1Qp+6T2eUMiQV+lZp1zZorKwi0Bln3ZfoyNX9EhSdRbM9wNDF6A5qaPddQyP KYxecquKeoq/br706y/7yx91VSysT+DB83yTZnYytmlNcfS+MGs3wP7z2lhMho78 iSYGKqBD16iXhvN+N5KJ27JjK61v4V+T+gYvcjf1JtwNjGD7EULFCKHPOYdp2KMX RLelE8lXnGqf4oR4CkHeYHy5TQw6lpZ9/Tp5rWF2l+CiKjwPfPJ5jILzzz2Lq9c1 evBee5kg2CR0yXa/YRmXw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddruddtledgheelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdej necuhfhrohhmpeffmhhithhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdrug gvvheqnecuggftrfgrthhtvghrnhepffeifedvleeukedtgfelieegudfgveekfeejveej ffetffeuueeugefhveeiuddvnecuffhomhgrihhnpehgnhhurdhorhhgnecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepughmihhtrhihsehguhht ohhvrdguvghvpdhnsggprhgtphhtthhopeehpdhmohguvgepshhmthhpohhuthdprhgtph htthhopehmohhnnhhivghrsehirhhordhumhhonhhtrhgvrghlrdgtrgdprhgtphhtthho pehgrggsrhhivghlshgrnhhtohhsuggvshhouhiirgesughishhrohhothdrohhrghdprh gtphhtthhopeguvghvsehrjhhtrdguvghvpdhrtghpthhtohepvghlihiisehgnhhurdho rhhgpdhrtghpthhtoh X-ME-Proxy: Feedback-ID: i07de48aa:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 22 Dec 2024 22:31:13 -0500 (EST) Content-Language: en-US In-Reply-To: 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:297637 Archived-At: On 22/12/2024 17:33, Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors wrote: >>> Do we have a way to tell Eglot which LSP server(s) to use via some >>> buffer-local var, instead of having to change this centralized >>> "database"? >> Looking at the following commits: >> >> - 5f56bc1 >> > id=5f56bc1cdfcd474dd9cfad07240df6c252abd35c> >> - e37754f >> > id=e37754fc59bac409881d456a83aa0bf2468c94fb> >> >> That doesn't seem to be the case. > It was a kind of rethorical question: whether we do or not, we*should* > have such a mechanism and we should use it here. Just to remind, Eglot is in GNU ELPA, whereas go-work-ts-mode is not (same for other ts modes). Preferred language servers tend to change over time.