From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Lele Gaifax Newsgroups: gmane.emacs.devel Subject: Re: Language Servers and Emacs Date: Fri, 14 Apr 2017 11:06:27 +0200 Organization: Nautilus Entertainments Message-ID: <87bmrzs6i4.fsf@nautilus> References: <20170411122816.751a130f@jabberwock.cb.piermont.com> <20170412090739.7ee9f671@jabberwock.cb.piermont.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1492160815 20638 195.159.176.226 (14 Apr 2017 09:06:55 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 14 Apr 2017 09:06:55 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 14 11:06:51 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cyxBr-0005HJ-8t for ged-emacs-devel@m.gmane.org; Fri, 14 Apr 2017 11:06:51 +0200 Original-Received: from localhost ([::1]:52434 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cyxBx-0001Nq-8c for ged-emacs-devel@m.gmane.org; Fri, 14 Apr 2017 05:06:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34280) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cyxBr-0001Nj-5j for emacs-devel@gnu.org; Fri, 14 Apr 2017 05:06:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cyxBm-0002bg-QE for emacs-devel@gnu.org; Fri, 14 Apr 2017 05:06:51 -0400 Original-Received: from [195.159.176.226] (port=51073 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cyxBm-0002bE-Io for emacs-devel@gnu.org; Fri, 14 Apr 2017 05:06:46 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cyxBe-00052c-VC for emacs-devel@gnu.org; Fri, 14 Apr 2017 11:06:38 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 31 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:nRgO8BOqaQKfU7T/Kdcf0ksAeVw= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:213959 Archived-At: Vibhav Pant writes: > On Wed, Apr 12, 2017 at 6:37 PM, Perry E. Metzger wrote: >> That looks very cool! However, your warning on the web site >> makes it sound like it is not ready to be used. (I.e. you say "This >> package is still under development, and is not recommended for daily >> use.") Is that just an abundance of caution? > > In some ways, yes. lsp-mode still has issues with *some* language server > (the Python one is the most mature one AFAIK, and works just fine). Indeed it is very nice: I gave it a shot on a Python project, and will surely try it again. One thing that surprised me is that it asks about launching the underlying "pyls" tool once for each visited source: is that right? As my project has hundreds of Python modules, wouldn't that put Emacs under pressure? One minor observation on the lisp sources: I think it's not necessary to explicitly quote lambdas as in the following snippet (lsp-define-client 'python-mode "python" 'stdio #'(lambda () default-directory) :command '("pyls") :name "Python Language Server") Thank you, ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. lele@metapensiero.it | -- Fortunato Depero, 1929.