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: An Eclim frontend for Emacs Date: Mon, 20 Apr 2009 20:56:45 +0200 Message-ID: <87r5zn9ms2.fsf@thinkpad.tsdh.de> References: <87y6tz12m2.fsf@thinkpad.tsdh.de> <87ws9i6ggv.fsf@thinkpad.tsdh.de> <87fxg6urhz.fsf_-_@thinkpad.tsdh.de> <200904181430.n3IEUqhW014738@projectile.siege-engine.com> <87k55hx0t4.fsf@thinkpad.tsdh.de> <87fxg5wraj.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1240253852 13851 80.91.229.12 (20 Apr 2009 18:57:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Apr 2009 18:57:32 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, "Eric M. Ludlam" To: Nikolaj Schumacher Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 20 20:58:51 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 1Lvyhc-0003wv-Fx for geh-help-gnu-emacs@m.gmane.org; Mon, 20 Apr 2009 20:58:48 +0200 Original-Received: from localhost ([127.0.0.1]:43939 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LvygD-0007Wd-F6 for geh-help-gnu-emacs@m.gmane.org; Mon, 20 Apr 2009 14:57:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lvyfs-0007WX-Ij for help-gnu-emacs@gnu.org; Mon, 20 Apr 2009 14:57:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lvyfm-0007Uw-Vt for help-gnu-emacs@gnu.org; Mon, 20 Apr 2009 14:56:59 -0400 Original-Received: from [199.232.76.173] (port=41627 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lvyfm-0007Um-TA for help-gnu-emacs@gnu.org; Mon, 20 Apr 2009 14:56:54 -0400 Original-Received: from out1.smtp.messagingengine.com ([66.111.4.25]:41160) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lvyfm-0006v9-G6 for help-gnu-emacs@gnu.org; Mon, 20 Apr 2009 14:56:54 -0400 Original-Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id EC16F31CBA3; Mon, 20 Apr 2009 14:56:53 -0400 (EDT) Original-Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute2.internal (MEProxy); Mon, 20 Apr 2009 14:56:54 -0400 X-Sasl-enc: +N+5SEtsnjcSs1Hw17k0fhQdtQ6mGnQ7wUpJi/uw3mJj 1240253809 Original-Received: from thinkpad.tsdh.de (p54AF38FB.dip0.t-ipconnect.de [84.175.56.251]) by mail.messagingengine.com (Postfix) with ESMTPA id 5AD584D52F; Mon, 20 Apr 2009 14:56:48 -0400 (EDT) In-Reply-To: (Nikolaj Schumacher's message of "Sun, 19 Apr 2009 14:18:50 +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:63906 Archived-At: Nikolaj Schumacher writes: Hi Nikolaj, >>> The completion seems to work well with company[1], too, so I'll >>> include a back-end in the next version. >> >> Wow, that would be cool. Till now, I didn't have a deeper look at >> company mode, but this would definitively make me try it. > > I've released it: > http://nschum.de/src/emacs/company-mode/ And I have tested it. Really brilliant, you're my hero of the month! The only thing that could be improved is that the error message could be a bit more informative when eclim commands fail. I symlinked eclim and eclimd to my bin dir, but that doesn't work, cause they assume they lay in the eclipse plugin dir. This resulted in --8<---------------cut here---------------start------------->8--- % eclim -command project_list /home/horn/bin/eclim: line 30: /home/horn/bin/ng: No such file or directory--8<---------------cut here---------------end--------------->8--- and return code 127. You only check the non-zeroness of the return code. In that case the eclim cmd output would be very helpful. > Unfortunately, completion requires saving the file. I haven't yet > figured out if eclim has a way around that. > > For the time being, company can do it automatically, if > (setq company-eclim-auto-save t) Hm, here it's nil, but completion works perfectly without any saving. (Eclim 1.4.5 and emacs 23 from yesterday). Thanks a ton, again! Tassilo -- My opinions may have changed, but not the fact that I am right.