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: An Eclim frontend for Emacs Date: Mon, 20 Apr 2009 22:00:43 +0200 Organization: aich tea tea pea dicky riley dot net Message-ID: 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 1240260063 2739 80.91.229.12 (20 Apr 2009 20:41:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Apr 2009 20:41:03 +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 Apr 20 22:42:22 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 1Lw0Ji-000691-TZ for geh-help-gnu-emacs@m.gmane.org; Mon, 20 Apr 2009 22:42:15 +0200 Original-Received: from localhost ([127.0.0.1]:41703 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lw0IK-00049d-3e for geh-help-gnu-emacs@m.gmane.org; Mon, 20 Apr 2009 16:40:48 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-2.dfn.de!news.dfn.de!feeder.erje.net!feeder.motzarella.org!news.motzarella.org!motzarella.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 45 Original-X-Trace: news.eternal-september.org U2FsdGVkX19sGL3KTw/vBRDG9O2J6D/IrziV2BRrsnFdwVOsBQh/+y2RVtCB3KhxLt5yPQSKxTlLlWhVa7b+oTgxknIXRq8JGZl5pKyZcXAidxt16ltXOpum9Z/0yg95E+Ywcq6wmByXmI/9kCpi/w== Original-X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers Original-NNTP-Posting-Date: Mon, 20 Apr 2009 20:00:47 +0000 (UTC) X-Auth-Sender: U2FsdGVkX18dxVDg/JI0XGbH+woxg8dgJ3ICsKTPSDt8/YlVi2syhg== Cancel-Lock: sha1:i0QlEdzUvMajM3ozQKDD/a5biwo= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) Original-Xref: news.stanford.edu gnu.emacs.help:168635 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:63907 Archived-At: Tassilo Horn writes: > 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 You're saying that eclipse completion features now work in emacs with company-mode? Wow? Is it trivial to set up? What about stuff like refactoring? Is there an eclim interface for that? Or context API help? Or are those outside of the remit of eclim?