From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.help Subject: Re: eclim without jde? Date: Sun, 15 Aug 2010 19:11:27 +0200 Organization: aich tea tea pea dicky riley dot net Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1281892335 21962 80.91.229.12 (15 Aug 2010 17:12:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 15 Aug 2010 17:12:15 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 15 19:12:14 2010 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.69) (envelope-from ) id 1Okgkn-0003Pm-Nt for geh-help-gnu-emacs@m.gmane.org; Sun, 15 Aug 2010 19:12:14 +0200 Original-Received: from localhost ([127.0.0.1]:52026 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Okgkm-0001Cl-Qm for geh-help-gnu-emacs@m.gmane.org; Sun, 15 Aug 2010 13:12:12 -0400 Original-Received: from [140.186.70.92] (port=45427 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OkgkJ-0001Ca-9O for help-gnu-emacs@gnu.org; Sun, 15 Aug 2010 13:11:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OkgkE-00068d-FD for help-gnu-emacs@gnu.org; Sun, 15 Aug 2010 13:11:43 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:60018) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OkgkE-00068M-9q for help-gnu-emacs@gnu.org; Sun, 15 Aug 2010 13:11:38 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OkgkB-0003Cx-Gn for help-gnu-emacs@gnu.org; Sun, 15 Aug 2010 19:11:35 +0200 Original-Received: from 85.183.18.158 ([85.183.18.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 15 Aug 2010 19:11:35 +0200 Original-Received: from rileyrg by 85.183.18.158 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 15 Aug 2010 19:11:35 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 38 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 85.183.18.158 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:74661 Archived-At: Andrea Crotti writes: > Richard Riley writes: > >> >> >> The issue is with auto-completion. >> >> Just including eclim doesnt suddenly make auto completion work. > > > Sure it doesn't, you need to have something like this (not sure if it's > the correct function). > > > > > --8<---------------cut here---------------start------------->8--- > (add-hook 'java-mode-hook > '(lambda () > (add-to-list 'ac-sources 'eclim-complete))) > --8<---------------cut here---------------end--------------->8--- > > > > The ac-sources is a list of functions that auto-complet uses to check if > there is a possible completion. > Yes. I know .. and ac-source-eclim uses ac-eclim-candidates which in turn calls eclim/java-complete which resides in eclim-java which pulls in jde which is incompatible with cedet in 23.2 onwards... Have you tried it? I am assuming you have this working as you seem quite adament it works ;) My own experiences here say not but I could have missed something obvious here.