From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Vibhav Pant Newsgroups: gmane.emacs.devel Subject: Re: Language Servers and Emacs Date: Thu, 13 Apr 2017 11:49:01 +0530 Message-ID: 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 X-Trace: blaine.gmane.org 1492064369 32442 195.159.176.226 (13 Apr 2017 06:19:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 13 Apr 2017 06:19:29 +0000 (UTC) Cc: "emacs-devel@gnu.org" To: "Perry E. Metzger" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 13 08:19:25 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 1cyY6H-0008NN-1E for ged-emacs-devel@m.gmane.org; Thu, 13 Apr 2017 08:19:25 +0200 Original-Received: from localhost ([::1]:47570 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cyY6M-0003Tz-Gx for ged-emacs-devel@m.gmane.org; Thu, 13 Apr 2017 02:19:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52636) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cyY6F-0003Th-Qo for emacs-devel@gnu.org; Thu, 13 Apr 2017 02:19:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cyY6E-0007Au-Ny for emacs-devel@gnu.org; Thu, 13 Apr 2017 02:19:23 -0400 Original-Received: from mail-yw0-x22c.google.com ([2607:f8b0:4002:c05::22c]:36179) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cyY6E-0007AK-JP for emacs-devel@gnu.org; Thu, 13 Apr 2017 02:19:22 -0400 Original-Received: by mail-yw0-x22c.google.com with SMTP id j9so21099726ywj.3 for ; Wed, 12 Apr 2017 23:19:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=sOC9wrFcTysSKoWJBApqDKu4KPoFY7DxeuzQUivholI=; b=Ilz1Lp2ioikCJ0yVax0jxWRvfMMezYZ1TOJXnccb5tVFJ67dyhFcNFYpzXbtj3hxK5 JGKXfePU47Jy6tnp8PXHZIeyMasZKcL1rZEdqFDGEyh9qfbKmwm2/KRcxcVwlFzs4oq5 uPiOV/7+ryKwNiNpvKUEBwQMVF/X6Jj3D9kew3GljhmzXnIahmwlRVvKfTfMV/W+w4O0 PjCJzY5H9b08iuTHhXopGxF68phxhaR/OB5miH2181XJ/k+BVM7VlRPVh8rLnO3nb5+3 8Dh/VULLGo4dEXYTc/adiu/RVMZlSzYnQudPR+XcoI6QUiAXq4YhRiK401zO1O9QMVcp UxvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=sOC9wrFcTysSKoWJBApqDKu4KPoFY7DxeuzQUivholI=; b=H78aGiMeOz6OKmhIgAaaM1xj279DQvPBjo4dTXDNhq4X0A4l48Jz8om9a0N3T8mjTC sFwUNoLoySbVKESngaCZEpKsloIeWidsUiBGZLncWBPLw7Jv5oNisRhS4WWsv9zkS1Ah vx7OsTCvJtvAMOzUV/MXUkl3Y81TjOqtzgppTg5z04O8H63EzDgb92or4oB3tVhQ4WBb NTByezoxSUU7/NlfhBN0VAps/XuM0MYnd4Eu2pUOehjFA48MgCy4Q9JP2fk+kfsqOCGZ YmmPdv3d1tIRba0zu7vXKQWEZK00rJAfxYbfBit00WkLxcCSrWsfE12/tsIAd6w+4uda 7j/w== X-Gm-Message-State: AN3rC/4nQkR6iQ5IJU06Zm2S/CRYwbZkddsLK7bsfpv+PLcZALNAEZ2M PpmNttcbP/O4mhTKZk6jsDuLhY2l580K X-Received: by 10.13.214.209 with SMTP id y200mr1137740ywd.25.1492064361654; Wed, 12 Apr 2017 23:19:21 -0700 (PDT) Original-Received: by 10.129.117.85 with HTTP; Wed, 12 Apr 2017 23:19:01 -0700 (PDT) In-Reply-To: <20170412090739.7ee9f671@jabberwock.cb.piermont.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4002:c05::22c 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:213928 Archived-At: 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). > And how hard is it to add support for other clients/languages besides > Go and Rust? (Some instructions in the repository might make it > easier for people to help bringing this up to speed...) > I've updated the list of supported languages on the README. Adding supporting for other languages is rather easy, you just need to tell lsp-mode about how the language server connects and communicates with clients. The remaining is handled by the package itself. For instance, this is how Python is supported: https://github.com/vibhavp/emacs-lsp/blob/c7c6a477b0c8aff1ce8aa032992cd10085ee0143/lsp-mode.el#L92 -- Vibhav Pant vibhavp@gmail.com