From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: IDE Date: Tue, 20 Oct 2015 14:28:55 +0300 Message-ID: <56262577.70107@yandex.ru> References: <83bncf3f9k.fsf@gnu.org> <5610E0BC.8090902@online.de> <83si5r106e.fsf@gnu.org> <831td9z18h.fsf@gnu.org> <5612E996.7090700@yandex.ru> <83bnc7tavr.fsf@gnu.org> <5618C92A.3040207@yandex.ru> <83a8rrt9ag.fsf@gnu.org> <871tcyexa9.fsf@fimbulvetr.bsc.es> <87612a7my2.fsf@fencepost.gnu.org> <561DC925.5050001@siege-engine.com> <561E32D2.4060501@yandex.ru> <83wpum3ozk.fsf@gnu.org> <87si59ln6u.fsf@isaac.fritz.box> <56224B63.3010803@yandex.ru> <562592ED.1070104@siege-engine.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1445340569 14635 80.91.229.3 (20 Oct 2015 11:29:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Oct 2015 11:29:29 +0000 (UTC) Cc: John Wiegley , emacs-devel@gnu.org To: Eric Ludlam , David Engster Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 20 13:29:24 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZoV6Y-0004mv-Q0 for ged-emacs-devel@m.gmane.org; Tue, 20 Oct 2015 13:29:22 +0200 Original-Received: from localhost ([::1]:45125 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoV6X-000137-Mb for ged-emacs-devel@m.gmane.org; Tue, 20 Oct 2015 07:29:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45756) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoV6Q-00012G-QB for emacs-devel@gnu.org; Tue, 20 Oct 2015 07:29:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZoV6F-0006OW-Vr for emacs-devel@gnu.org; Tue, 20 Oct 2015 07:29:07 -0400 Original-Received: from mail-wi0-x22b.google.com ([2a00:1450:400c:c05::22b]:34306) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoV6F-0006OQ-N5 for emacs-devel@gnu.org; Tue, 20 Oct 2015 07:29:03 -0400 Original-Received: by wikq8 with SMTP id q8so41596305wik.1 for ; Tue, 20 Oct 2015 04:29:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=wrIe4PrqIa2ChOh/8Tww7KpVmVpcG2IFx6CHMw9sLyM=; b=t/CzYjZeE7SVlKwalHzOQeMBFldDG8oUh0RVz2F7a4n46WGoXGMWqDIRcuGDrCxjUo /wXClky/iRe38hbPlpvyMnoOiFu6/PKgeCwA9X4nlsCWK2ESHvnJDUq6aRZqg4v5oGSk NNwCRWHQNoWbhPURH1zMq5qX/j4v931DXJh0FGvZ+EnSwe7cvlbTps1Bh3/4O1LFT3nP glCcX53cI+hcXtISWGrSZBbtJZg1jpKbNnCdqqMCUfn5ISI4+vFB9KEM5xBEhA/d7KiK uqZk6zv5EQcCynf+2DF6a78ZDKTx6UsIDBXkv7bvYgvXGUdIASDrfFQZ/4oFN2lv3n11 gPpg== X-Received: by 10.180.39.193 with SMTP id r1mr25781790wik.57.1445340543038; Tue, 20 Oct 2015 04:29:03 -0700 (PDT) Original-Received: from [192.168.1.2] ([185.105.175.24]) by smtp.googlemail.com with ESMTPSA id p10sm3250577wjx.36.2015.10.20.04.29.01 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 20 Oct 2015 04:29:01 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Thunderbird/42.0 In-Reply-To: <562592ED.1070104@siege-engine.com> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::22b X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:192175 Archived-At: On 10/20/2015 04:03 AM, Eric Ludlam wrote: > We should poke at this. Can you share a little about what your tool > does? Then perhaps we hypothesize about the efficacy of integrating > into CEDET as an example of integrating external tools. It probably wouldn't gain too much from CEDET integration. It has: - Server, serving JSON over HTTP, with a RPC-like protocol. - Emacs client in the shape of a minor mode. It defines a completion-at-point-functions element and a keymap with essentially three commands: "jump to the definition", "jump back", "show documentation for the method at point". - To determine the current context (which would be similar to "current tag" in Semantic), it calls ruby-add-log-current-method and parses the returned string. I've improved that function in ruby-mode a year or two ago, and it's pretty accurate. Robe is also pretty hacky compared to most other similar tools: - The server loads itself into and runs from an REPL buffer. We either expect the user to already have such a REPL running (with the project loaded), or offer to launch one automatically (which fails in certain configurations). - It doesn't support multiple projects in the same Emacs session. - It misses some trivial opportunities to infer the type of a local variable. That would be my first priority to work on... when I deal with all that project and xref stuff in the core, I guess. Lives here: https://github.com/dgutov/robe/