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: Thu, 14 Oct 2021 09:39:47 +0300 Message-ID: <83czo8m7nw.fsf@gnu.org> References: <16338bdc2497fc51c6fb6d54ab370bfb@webmail.orcon.net.nz> <87ee99dv34.fsf@gmail.com> <07cf50ddddb5a9556aa94201a7ac88c9@webmail.orcon.net.nz> <87fstf3god.fsf@fastmail.fm> <87ily2947q.fsf@yahoo.com> <87fst5ae2t.fsf@gmail.com> <87v920j0jx.fsf@fastmail.fm> <839638db-98e1-4669-1b7e-82c8e26ec4aa@yandex.ru> <87ee8obqyy.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2556"; mail-complaints-to="usenet@ciao.gmane.io" Cc: joostkremers@fastmail.fm, emacs-devel@gnu.org, dgutov@yandex.ru To: Tim Cross Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 14 08:41: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 1mauQf-0000QC-Aw for ged-emacs-devel@m.gmane-mx.org; Thu, 14 Oct 2021 08:41:25 +0200 Original-Received: from localhost ([::1]:46440 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mauQd-0003hF-Jo for ged-emacs-devel@m.gmane-mx.org; Thu, 14 Oct 2021 02:41:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48402) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mauP8-0002eu-WA for emacs-devel@gnu.org; Thu, 14 Oct 2021 02:39:51 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35778) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mauP8-0006vQ-B7; Thu, 14 Oct 2021 02:39:50 -0400 Original-Received: from [87.69.77.57] (port=3349 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 1mauP7-0008Jl-UQ; Thu, 14 Oct 2021 02:39:50 -0400 In-Reply-To: <87ee8obqyy.fsf@gmail.com> (message from Tim Cross on Thu, 14 Oct 2021 07:00:25 +1100) 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:276963 Archived-At: > From: Tim Cross > Date: Thu, 14 Oct 2021 07:00:25 +1100 > Cc: Joost Kremers , emacs-devel@gnu.org > > I doubt very mush that anyone will ever bother to implement an LSP > language server for elisp. There simply isn't sufficient benefit given > the work required. The main benefit, AFAIU, is to use the system's execution units more efficiently by off-loading some of the CPU-intensive work to another Emacs process. > Even less likely for non-Emacs users if to have an > elisp LSP language server you need to install Emacs to provide the > daemon, which will be slow to start and resource hungry compared to > other LSP language servers. I'm surprised. How large are memory footprints of "other LSP language servers", and how large do you envision the footprint of Emacs-based server to be? Emacs has ceased to be THE memory hog long ago, it's actually quite modest in its memory requirements nowadays. So I don't see why this particular job would require Emacs to become such a memory-hungry application. > I think it also largely misses the point - > the idea of LSP is to provide a small, fast and easy to install basic > service which can assist an editor to provide intelligent completion, > linting, syntax highlighting etc for a language. All of the other LSP > language servers I've used are small, fast to start and easy to install. > Emacs as a daemon is none of these. I think the time to start is not very important, since it happens once.