From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marius Newsgroups: gmane.emacs.help Subject: eclim-mode setup Date: Sun, 30 Jan 2011 15:40:24 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1296491516 1360 80.91.229.12 (31 Jan 2011 16:31:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 31 Jan 2011 16:31:56 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 31 17:31:53 2011 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 1PjwfQ-0003Le-Hz for geh-help-gnu-emacs@m.gmane.org; Mon, 31 Jan 2011 17:31:52 +0100 Original-Received: from localhost ([127.0.0.1]:37325 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PjwfO-0002b6-T6 for geh-help-gnu-emacs@m.gmane.org; Mon, 31 Jan 2011 11:31:51 -0500 Original-Received: from [140.186.70.92] (port=57115 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PjYSf-0006sI-Ac for help-gnu-emacs@gnu.org; Sun, 30 Jan 2011 09:42:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PjYSL-0001KW-8n for help-gnu-emacs@gnu.org; Sun, 30 Jan 2011 09:40:46 -0500 Original-Received: from mail-iw0-f169.google.com ([209.85.214.169]:48216) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PjYSL-0001KP-2H for help-gnu-emacs@gnu.org; Sun, 30 Jan 2011 09:40:45 -0500 Original-Received: by iwn40 with SMTP id 40so5510945iwn.0 for ; Sun, 30 Jan 2011 06:40:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:from:date:message-id:subject:to :content-type; bh=PF+BKoLOc6O7sMq7WG5TLDy4LGzu40C6fOPbjnBJ4zM=; b=MKvh+DI387hdOwHO2/IZLRURGD0P60ehyzBEGXFk4YMHKc7e4Oetnhj94z6GzEyGhB jjnvTa4H51Ra1AYbhhayujeQNGLAD3HUwp9UdDfslVELH12BP5Yto0hmhNhPbgTYkdR7 zl9/t8k3ZUlIwggSupdPKj3n7j9sUlZAGPJL4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=xuX/C5scFrUFnTEXrFFB6EcLXQeV1ed57K2yKBDBR2mSgq4RkPixN/mJ5toqhwiCVY MOy96lKH6zHeoN168nINRULDVcf2cA2Zjc9PX6X66fmYjav2SStbKA4cSfV34YU5njWi +JNSDYrz1ZaQhPe5KGHBeMxDLfu+fbcpRy3uI= Original-Received: by 10.231.14.134 with SMTP id g6mr5345187iba.65.1296398444396; Sun, 30 Jan 2011 06:40:44 -0800 (PST) Original-Received: by 10.231.169.139 with HTTP; Sun, 30 Jan 2011 06:40:24 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.214.169 X-Mailman-Approved-At: Mon, 31 Jan 2011 11:25:41 -0500 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:78872 Archived-At: Hi! The emacs-eclim project (https://github.com/senny/emacs-eclim) provides Eclipse integration, and I configured my emacs 23.1.1, using the newest emacs-eclim revision available at this date. I'm on a Linux machine, eclimd runs within Eclipse. Vim connects successfully: eclim 1.6.1 eclipse 3.6.1 Eclipse reports: 2011-01-30 13:13:27,449 INFO [org.eclim.eclipse.AbstractEclimApplication] Eclim Server Started on port 9091. But emacs doesn't work with eclim-emacs: M-x eclim-manage-project returns: "Wrong type argument: stringp, nil" and opens an empty new buffer. I cannot list the workspace. I don't get any functionality from eclim, but auto-save. So the mode loads successfully. .emacs: https://github.com/wishi/linux-dots/blob/master/.emacs I want emacs-eclim project management, refactoring and completion for now. The JDE stuff is just additionally. ;; loading eclim defaults to get Eclipse's power into emacs (add-to-list 'load-path (expand-file-name "~/Source/emacs-eclim/")) (add-to-list 'load-path (expand-file-name "~/Source/emacs-eclim/vendor")) (require 'eclim) (setq eclim-auto-save t) (global-eclim-mode) (setq company-idle-delay nil company-eclim-auto-save t) (setq company-eclim-executable "~/eclipse_wrk/eclipse_32/plugins/org.eclim_1.6.1/bin/eclim") (defun th-java-mode-init () (setq company-backend 'company-eclim)) (add-hook 'java-mode-hook 'th-java-mode-init) Is there anything wrong with this configuration? Thanks, Marius