From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Elisp LSP Server Date: Wed, 13 Oct 2021 16:53:48 +0300 Message-ID: <83a6jdni8j.fsf@gnu.org> References: <16338bdc2497fc51c6fb6d54ab370bfb@webmail.orcon.net.nz> <87ee99dv34.fsf@gmail.com> <07cf50ddddb5a9556aa94201a7ac88c9@webmail.orcon.net.nz> <87r1d0562u.fsf@yahoo.com> <87r1cz7qcd.fsf@posteo.net> <87bl4367av.fsf@yahoo.com> <87fstf7kz4.fsf@posteo.net> <87o8814q1v.fsf@yahoo.com> <87r1cs9faa.fsf@yahoo.com> <87a6jdqz4k.fsf@yahoo.com> <83wnmhnlp6.fsf@gnu.org> <874k9lqed4.fsf@yahoo.com> <83ily1njj1.fsf@gnu.org> <87tuhloxkq.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33220"; mail-complaints-to="usenet@ciao.gmane.io" Cc: philipk@posteo.net, rms@gnu.org, psainty@orcon.net.nz, mardani29@yahoo.es, joaotavora@gmail.com, emacs-devel@gnu.org, agzam.ibragimov@gmail.com To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Oct 13 15:55:26 2021 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 1maej7-0008Rm-R4 for ged-emacs-devel@m.gmane-mx.org; Wed, 13 Oct 2021 15:55:25 +0200 Original-Received: from localhost ([::1]:42990 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1maej6-0006c3-Ov for ged-emacs-devel@m.gmane-mx.org; Wed, 13 Oct 2021 09:55:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37272) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1maeho-0004Ye-4I for emacs-devel@gnu.org; Wed, 13 Oct 2021 09:54:04 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33126) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1maehm-0005fA-JT; Wed, 13 Oct 2021 09:54:02 -0400 Original-Received: from [87.69.77.57] (port=4866 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1maehd-0007Qq-FM; Wed, 13 Oct 2021 09:53:54 -0400 In-Reply-To: <87tuhloxkq.fsf@yahoo.com> (message from Po Lu on Wed, 13 Oct 2021 21:37:09 +0800) 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:276904 Archived-At: > From: Po Lu > Cc: philipk@posteo.net, rms@gnu.org, psainty@orcon.net.nz, > emacs-devel@gnu.org, joaotavora@gmail.com, mardani29@yahoo.es, > agzam.ibragimov@gmail.com > Date: Wed, 13 Oct 2021 21:37:09 +0800 > > Eli Zaretskii writes: > > > How can it NOT find any users in Emacs? We edit Lisp all the time, > > don't we? Shouldn't advanced features for indentation, syntax > > highlight, refactoring, etc. of Emacs Lisp programs be very welcome in > > Emacs? > > Yes, but what the OP proposed was not to implement these new features in > Emacs, but instead to expose existing features such as imenu to other > programs by making Emacs act as a language server implementing the > language server protocol. And Emacs itself couldn't be that server's client? > It would be nice if Emacs does gain the advanced features you mentioned > above, but they shouldn't be implemented as a language server, and > either way that's not what the OP was proposing. They should be implemented in Emacs, but the data necessary for the implementation is supposed to come from the language server. Right?