From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.help Subject: Re: Is JDEE moribund? Is Emacs a viable Java devel environment? Date: Sat, 18 Apr 2009 10:05:55 +0200 Message-ID: <87vdp2s7x8.fsf@arcor.de> References: <87y6tz12m2.fsf@thinkpad.tsdh.de> <87ws9i6ggv.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1240042017 17836 80.91.229.12 (18 Apr 2009 08:06:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Apr 2009 08:06:57 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 18 10:08:15 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 1Lv5aw-0001Ho-QF for geh-help-gnu-emacs@m.gmane.org; Sat, 18 Apr 2009 10:08:15 +0200 Original-Received: from localhost ([127.0.0.1]:49260 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lv5ZX-0008N8-Un for geh-help-gnu-emacs@m.gmane.org; Sat, 18 Apr 2009 04:06:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lv5Z7-0008N1-8N for help-gnu-emacs@gnu.org; Sat, 18 Apr 2009 04:06:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lv5Z1-0008Mo-LF for help-gnu-emacs@gnu.org; Sat, 18 Apr 2009 04:06:20 -0400 Original-Received: from [199.232.76.173] (port=54331 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lv5Z1-0008Ml-F0 for help-gnu-emacs@gnu.org; Sat, 18 Apr 2009 04:06:15 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:55063 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lv5Z0-0003UI-Qm for help-gnu-emacs@gnu.org; Sat, 18 Apr 2009 04:06:15 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Lv5Yu-0000eP-CE for help-gnu-emacs@gnu.org; Sat, 18 Apr 2009 08:06:08 +0000 Original-Received: from dslc-082-082-171-044.pools.arcor-ip.net ([82.82.171.44]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Apr 2009 08:06:08 +0000 Original-Received: from deng by dslc-082-082-171-044.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Apr 2009 08:06:08 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 37 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dslc-082-082-171-044.pools.arcor-ip.net User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.91 (gnu/linux) Mail-Copies-To: never Cancel-Lock: sha1:Re/rySyNjMM1czA5rkNEFr0Id3o= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:63838 Archived-At: Lennart Borgman writes: > On Sat, Apr 18, 2009 at 12:52 AM, Tassilo Horn wrote: >> 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. > > Maybe I am misunderstanding this, but I thought that CEDET is written > so that it can use external parsers etc. Yes. CEDET has a very flexible API which allows to integrate almost any external parsing engine. http://cedet.sourceforge.net/addtool.shtml It seems there actually is a Java grammar in CEDET, but apparently most of the database stuff is not implemented, which is why it currently only does local completion. I remember Joakim Verona doing some stuff on Java support in CEDET, using Clojure. > On Sat, Apr 18, 2009 at 12:52 AM, Tassilo Horn wrote: >> 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. You can surely interface CEDET with this. I guess the information from eclim can be used in CEDET as a so called "omniscient database". For an example, have a look at semanticdb-global.el, which implements the GNU Global support for CEDET. The file semanticdb-skel.el has some commentary on which functions have to be implemented. For more information, just ask on the CEDET mailing list. -David