From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: phillip.lord@russet.org.uk (Phillip Lord) Newsgroups: gmane.emacs.devel Subject: Re: Language Servers and Emacs Date: Wed, 26 Apr 2017 12:15:19 +0100 Message-ID: <87tw5b4dyw.fsf@russet.org.uk> References: <20170411122816.751a130f@jabberwock.cb.piermont.com> <20170412085909.44faf429@jabberwock.cb.piermont.com> <87h91cvfz2.fsf@russet.org.uk> <87tw5chytb.fsf@gmail.com> <20170425220038.57619413@jabberwock.cb.piermont.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1493205362 32621 195.159.176.226 (26 Apr 2017 11:16:02 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 26 Apr 2017 11:16:02 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) Cc: Helmut Eller , Katherine Cox-Buday , emacs-devel@gnu.org To: "Perry E. Metzger" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 26 13:15:57 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 1d3KvN-0008Kr-7s for ged-emacs-devel@m.gmane.org; Wed, 26 Apr 2017 13:15:57 +0200 Original-Received: from localhost ([::1]:54334 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d3KvT-0006fL-4C for ged-emacs-devel@m.gmane.org; Wed, 26 Apr 2017 07:16:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36435) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d3Kus-0006dZ-5f for emacs-devel@gnu.org; Wed, 26 Apr 2017 07:15:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d3Kuo-0003fm-6u for emacs-devel@gnu.org; Wed, 26 Apr 2017 07:15:26 -0400 Original-Received: from cloud103.planethippo.com ([78.129.138.110]:60178) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d3Kun-0003eV-V9 for emacs-devel@gnu.org; Wed, 26 Apr 2017 07:15:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=sG4jLJsQTfLThFavFm8xQ+U010d3YN5h5qxVMx3sqFM=; b=SpmaBJQDM/tUbR/8ch5KSNdrM uTxeBvbAQl8qCWNtqCxTdM7H9RRPOPwYm4FlvX4uwqS1EbAra1jmCDDEueE5yGOXAOIMQphwZVDSc ppdY+Fv+kfwDhUkgEPEefkbzn1ZY2DlTc+rfm6ZhyOpl3NHwJ3XDRTIrQcOsvjxZ6l7oJvd4+LneE wFcNFFAuem2VCON6xqM/KdGfydBrbiaOo9Csyu08jCUdC2JZuqTpuhdT2V1e1JHiKiqMFG2OzYuhw mN4nOyMhlXNlXnQAGqZZHtcoJkZwUlz38ANW7baAC2AItaaaoT9nE6ruFto8Cbn2XdjgJT43Gm2rj xesHHkMFg==; Original-Received: from janus-nat-128-240-225-75.ncl.ac.uk ([128.240.225.75]:51533 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1d3Kum-0003eq-F3; Wed, 26 Apr 2017 11:15:20 +0000 In-Reply-To: <20170425220038.57619413@jabberwock.cb.piermont.com> (Perry E. Metzger's message of "Tue, 25 Apr 2017 22:00:38 -0400") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk X-Source: X-Source-Args: X-Source-Dir: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 78.129.138.110 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:214302 Archived-At: "Perry E. Metzger" writes: > On Tue, 25 Apr 2017 18:06:40 -0500 Katherine Cox-Buday > wrote: >> > I think that ENSIME (for Scala) has a protocol in there as >> > well. >> >> They do, and there is an open discussion[1] on supporting the LSP >> protocol. >> >> Personally, I'd like to see broad support for this in emacs so I can >> learn the "emacs way" of interacting with code that works across >> various languages with different backends. It seems like every >> language's mode/backend does things slightly differently. > > Indeed. > > I suspect that most of the ways of interacting with external language > tools other than LSP will fade over time, but whether or not that's > the case, it clearly seems to be smarter to have an external language > tool than to have to duplicate the work of parsing and managing > symbol tables inside the editor. Well, this depends whether LSP is good or not. Even then, history suggests that introduction of the one true standard, just results in yet another technique for the same thing. A brief look at LSP seems that it's relatively limited in scope, though; it has some discussion of "capabilities" and "execute command". How extensible is it? For instance, NREPL allows evalling code, or loading files? Would it be possible to send enough data through LSP to support edebug step through debugging for instance? Phil