From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: PL support Date: Sat, 09 May 2020 19:38:07 +0300 Message-ID: <83k11ldpxs.fsf@gnu.org> References: <9mmFgzvrBwjt_n_VJyaJdXINraNi5HsGpwq-0MLeKiJA7kG2BQA4uywrzjyz7lpRS0OZDpjEi8lspOKYUA7P_QsODsDew_8nbH960G55fmY=@protonmail.com> <87d07xamrg.fsf@ericabrahamsen.net> <878silajdl.fsf@ericabrahamsen.net> <87tv18pyh4.fsf@russet.org.uk> <83zhaih0oz.fsf@gnu.org> <83pnbegsvm.fsf@gnu.org> <83imh5hby1.fsf@gnu.org> <2e4e8ce9-d857-f3e3-31cf-a40dee67bd25@yandex.ru> <83y2q1dsvh.fsf@gnu.org> <2468efa6-7dbd-8634-44cc-586bb6985f49@yandex.ru> <83pnbddrfd.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="112129"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, monnier@iro.umontreal.ca, dgutov@yandex.ru To: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 09 18:38:56 2020 Return-path: Envelope-to: ged-emacs-devel@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 1jXSV5-000T2x-TQ for ged-emacs-devel@m.gmane-mx.org; Sat, 09 May 2020 18:38:55 +0200 Original-Received: from localhost ([::1]:58380 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jXSV4-0004Jm-DZ for ged-emacs-devel@m.gmane-mx.org; Sat, 09 May 2020 12:38:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54590) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jXSUU-0003lh-F5 for emacs-devel@gnu.org; Sat, 09 May 2020 12:38:18 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:55142) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jXSUT-0003cM-TU; Sat, 09 May 2020 12:38:17 -0400 Original-Received: from [176.228.60.248] (port=2332 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jXSUT-00042c-6l; Sat, 09 May 2020 12:38:17 -0400 In-Reply-To: (message from =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= on Sat, 9 May 2020 17:30:58 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:249503 Archived-At: > From: João Távora > Date: Sat, 9 May 2020 17:30:58 +0100 > Cc: Dmitry Gutov , Stefan Monnier , > emacs-devel > > On Sat, May 9, 2020 at 5:06 PM Eli Zaretskii wrote: > > > I said nothing about moving Eglot to the core. It was João, not > > myself. I'd be happy if we could have these capabilities that > > depended on Eglot (or any other package, really) being installed. We > > could figure out the rest later. > > You said you'd like to see "more of Eglot's LSP support" in the core, two > years ago: > > https://lists.gnu.org/archive/html/emacs-devel/2018-05/msg00419.html I very much doubt Dmitry was replying to that 2-year old message. He was replying to what I said today. > At the time, I tore off a big chunk of it, jsonrpc.el to put in the core, and > and made it a :core package. I'm opening to tearing eglot.el gain, i.e. to > extract again, say an lsp.el and make that a :core thing. This would > advance the "LSP in Emacs" goal. On thing that would fit that fill is a > set of Elisp macros that allow for compile-time and run-time checking > of LSP messages, among other LSP-specific but interface-agnostic > details. > > Shall I start working on that? What I'd like to see is a way to switch language-specific features in CC Mode to LSP or some other similar facility. Assuming that doing so will make CC Mode faster and more accurate, that is. If you (and/or someone else) can start working on that, please do, and thanks in advance. I presume that we are still a long way from that goal, but if I'm mistaken, so much the better.