From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Federico Beffa via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#73452: Code lens support in eglot Date: Thu, 26 Sep 2024 21:07:38 +0200 Message-ID: <5b9344b1-82f3-4fa7-a42a-b033e374e2c2@fbengineering.ch> References: <05f4d679-d2cd-409c-aafd-bfac2eda7a21@fbengineering.ch> <86v7ylcatg.fsf@gnu.org> <86ikukc6lz.fsf@gnu.org> <402b37ee-8f2a-4c44-8861-be9054ed5255@fbengineering.ch> Reply-To: Federico Beffa Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------ADy2TCLe2mMoakWayMhjrvkJ" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15620"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: 73452@debbugs.gnu.org, Eli Zaretskii To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 26 21:40:58 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 1stuMD-0003s9-Ks for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 26 Sep 2024 21:40:57 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1stuLt-0007IS-Ac; Thu, 26 Sep 2024 15:40:37 -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 1stuLr-0007Hv-GH for bug-gnu-emacs@gnu.org; Thu, 26 Sep 2024 15:40:36 -0400 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 1stuLr-0006M1-7A for bug-gnu-emacs@gnu.org; Thu, 26 Sep 2024 15:40:35 -0400 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=tsowFBlnKaE7L+0A8WDGQqyfHL66vZmxb+BsYxSi83w=; b=Au2u3AOUV45ClpfoiJJ2YrSJBLBUQpkI+a+28ZG1OXQeNQwUt0FnKHJH3EaB96VSfVyhM13XJ3+Cf1ASB7fOcQBEFtGncJUJCQoIE0y5gM4rPUt8P5xMQtppYlsr4KqGH7lEgnLetTR45kyVdZHT3kKnBuSxqSMo5TPE6pkMOmolI2F8Dtm8Lyfi6cDpLwp6wD9gNfYH19GHD+UqRKNTj3f+ilVfLfkRZSbGbe7tvJQHbuAhnqyczDO3F8KJyNEcTNxHDQroMWk2d0u+9z+xBXaOZyEPcT14EJ/By5iJNKR8yuTQuZc5TJs2hCzTaMBTln4ou6KocuM7NrItLP/hHQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1stuMI-0000dV-N2 for bug-gnu-emacs@gnu.org; Thu, 26 Sep 2024 15:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Federico Beffa Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Sep 2024 19:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73452 X-GNU-PR-Package: emacs Original-Received: via spool by 73452-submit@debbugs.gnu.org id=B73452.17273796201843 (code B ref 73452); Thu, 26 Sep 2024 19:41:02 +0000 Original-Received: (at 73452) by debbugs.gnu.org; 26 Sep 2024 19:40:20 +0000 Original-Received: from localhost ([127.0.0.1]:51756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stuLa-0000Ta-Oi for submit@debbugs.gnu.org; Thu, 26 Sep 2024 15:40:20 -0400 Original-Received: from smtp-42ae.mail.infomaniak.ch ([84.16.66.174]:33169) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sttyF-0007SK-To for 73452@debbugs.gnu.org; Thu, 26 Sep 2024 15:16:13 -0400 Original-Received: from smtp-3-0000.mail.infomaniak.ch (smtp-3-0000.mail.infomaniak.ch [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4XF3582lbLzVGZ; Thu, 26 Sep 2024 21:07:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fbengineering.ch; s=20220212; t=1727377660; bh=tsowFBlnKaE7L+0A8WDGQqyfHL66vZmxb+BsYxSi83w=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=Nc2QwLHf9cotmaWsF7ybHdQb1FSQVehmNgFlMc7fsb2SQZwq65ZYAnG2oPKHXc3Vb iJNkDJjieV7EzxGzlYIZ1fS0a/A2LoYHQInb525aVaq0SpWikL9LtnZf81edU3T3Op D2NXQtDZ5mOWsXmqSSsqsEK+FXY858A+N90hHaqc= Original-Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4XF3571K3Kz29B; Thu, 26 Sep 2024 21:07:39 +0200 (CEST) Content-Language: en-US Autocrypt: addr=federico.beffa@fbengineering.ch; keydata= xsBNBFgAga0BCADIY78eSt/I4vGPo/UMBMQhcM8O2tptvlN0B2F6Z8sDAOwgWnQpd0x2AVM8 I39VymnmbEQfWf/Y0U9XJqrmOz91NreTsZUsR9BSZy1fVIUbdoQTI8m8CGpjDBnloX+cQwwD PDS2RL2/a0rZciXUMunVvM/o2zLHUIyO/GeoqKN5mU4d4nZYPHtBOBpmzfvfyZLM1uyu/flb KGFqW0uKmS8MQWhyUdvIsiAU/Aofuf0dVp2C/Z5w01Vyw38fReZ20onxbabSjLrOT+K6vzrV /9P+6435Ptoek+5BoQX50f+cMYq4d2rE2PBenDy4xAloL/qOUj6XqwW9ZWAkLLiqYiJdABEB AAHNMEZlZGVyaWNvIEJlZmZhIDxmZWRlcmljby5iZWZmYUBmYmVuZ2luZWVyaW5nLmNoPsLA kQQTAQgAOxYhBDd0gCSID9P/3KLJq1iTbg4vG1pMBQJjXqXsAhsDBQsJCAcCAiICBhUKCQgL AgQWAgMBAh4HAheAAAoJEFiTbg4vG1pMv1sH/1K4SI0+6tmpPLGwCUqpeUk5AScmqntZ41rT 9W8XF1QgZVsgSqFrVfQLpW+MC5VoMJJmdcPLD8gLLBhViavw8LrQzO8jO90US70MnUnniFB7 c0YabBsd2cGa25a+LOZ/f1lZCtHvlq46Trxcn9DM+pfexlM6AyN8+FGGIstSwXC96AOfr41U lSQqaLbD9ecf+VzPvOPozKLOpQaakuUFLeo9KB1VmK3UxWU3JQ96fJ+Aw8PXJLJFH8bSK/an OCzZPPFvICGUcqBKIDirUKzRyiC In-Reply-To: X-Infomaniak-Routing: alpha 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:292478 Archived-At: This is a multi-part message in MIME format. --------------ADy2TCLe2mMoakWayMhjrvkJ Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 26/09/2024 19:12, João Távora wrote: > On Thu, Sep 26, 2024 at 4:35 PM Federico Beffa > wrote: > ... > Indeed, the examples you show here could all be done > with code actions. You are right, but, as already mentioned, many language server implementors decided otherwise and that's not going to change because Emacs doesn't like code lenses. Anyway, you made your point and that's fair enough. --------------ADy2TCLe2mMoakWayMhjrvkJ Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
On 26/09/2024 19:12, João Távora wrote:
On Thu, Sep 26, 2024 at 4:35 PM Federico Beffa <federico.beffa@fbengineering.ch> wrote:
...
Indeed, the examples you show here could all be done 
with code actions.

You are right, but, as already mentioned, many language server implementors decided otherwise and that's not going to change because Emacs doesn't like code lenses.

Anyway, you made your point and that's fair enough.

--------------ADy2TCLe2mMoakWayMhjrvkJ--