From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: Is JDEE moribund? Is Emacs a viable Java devel environment? Date: Sat, 18 Apr 2009 00:52:16 +0200 Message-ID: <87ws9i6ggv.fsf@thinkpad.tsdh.de> References: <87y6tz12m2.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1240008775 27749 80.91.229.12 (17 Apr 2009 22:52:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Apr 2009 22:52:55 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Lennart Borgman Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 18 00:54:14 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Luwwo-0001XB-2d for geh-help-gnu-emacs@m.gmane.org; Sat, 18 Apr 2009 00:54:14 +0200 Original-Received: from localhost ([127.0.0.1]:50554 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LuwvM-0000nj-6R for geh-help-gnu-emacs@m.gmane.org; Fri, 17 Apr 2009 18:52:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Luwv4-0000ne-QZ for help-gnu-emacs@gnu.org; Fri, 17 Apr 2009 18:52:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Luwuz-0000nC-O1 for help-gnu-emacs@gnu.org; Fri, 17 Apr 2009 18:52:26 -0400 Original-Received: from [199.232.76.173] (port=51529 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Luwuz-0000n9-Ll for help-gnu-emacs@gnu.org; Fri, 17 Apr 2009 18:52:21 -0400 Original-Received: from out2.smtp.messagingengine.com ([66.111.4.26]:60708) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Luwuz-00006h-BB for help-gnu-emacs@gnu.org; Fri, 17 Apr 2009 18:52:21 -0400 Original-Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id ACE2F31C9A5; Fri, 17 Apr 2009 18:52:20 -0400 (EDT) Original-Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute2.internal (MEProxy); Fri, 17 Apr 2009 18:52:20 -0400 X-Sasl-enc: hlcJogiApIxet5Qlmb40QZK6WXeArgOM/bgrvP8a1NTV 1240008740 Original-Received: from thinkpad.tsdh.de (p54AF0764.dip0.t-ipconnect.de [84.175.7.100]) by mail.messagingengine.com (Postfix) with ESMTPA id 8CB7924F92; Fri, 17 Apr 2009 18:52:19 -0400 (EDT) In-Reply-To: (Lennart Borgman's message of "Sat, 18 Apr 2009 00:08:12 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:63831 Archived-At: Lennart Borgman writes: Hi Lennart, >> I hope someone starts writing an emacs interface to Eclim [1] anytime >> soon. =C2=A0I had a quick look at the sources and it shouldn't be too >> hard, but it's quite a lot to do (to get all eclipse features). >> >> To me it seems that most java programmers use eclipse (or netbeans) >> anyway or switched to eclipse/NB, and there's noone feels preasured >> to enhance emacs in that direction. =C2=A0And you can count me as one of >> those, sadly. =C2=A0But I'm pretty sure that if someone would create an >> emacs interface to let's say only the autocompletion feature of >> eclipse using eclim, things would get running on their own. > > There has been very much done to CEDET now. Would it not be a good > idea to use CEDET for an interface to eclim? CEDET uses another approach. It has it's own parsers and analyzers which enable it to do smart autocompletion and other intelligent stuff. This works quite well for C/C++, because Eric has put a lot of effort into it, and I highly appreciate that. The eclim approach is very different. Here an headless eclipse instance runs as a server in the background. Vim does no intelligent source code analysis, instead it sends only a plain text command to eclipse like: I'm in project Foo in file src/bar/Baz.java on position 18271 and now I executed the completion command. Gimme the completion list, please. And so does eclipse. Here the editors task is only to issue commands, let eclipse do the intelligent stuff, get back the results, and display it. Very simple. IMO this is a great approach, because speaking honestly: Emacs cannot compete with eclipse for java (and probably other new, nifty languages like scala or groovy). They have far more developers and academia as well as industry are focused on it. Anyway, no reason for sadness, the functionality is there ready for consumption. So instead of reinventing the wheel, we should combine emacs' unsurpassed editing capabilities (eclipse extremely sucks in that respect) with eclipse's intelligent features where those are better than the emacs counterparts. Bye, Tassilo