emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Implementing Eclipse's "organize-imports" in Emacs Lisp


From: Klotz, Leigh
Subject: Re: Implementing Eclipse's "organize-imports" in Emacs Lisp
Date: Thu, 7 Feb 2008 11:05:25 -0800

I found this thread because I showed an Eclipse-using colleague
flymake-mode for Java, and he asked about oragnize-imports.

Credmp made flymake-mode for Java use just the ECJ compiler from Eclipse
and EMACS flymake mode.  As for RMS's question below, the startup time
for running Java and the ECJ compiler is small and not that noticeable
when flymake-mode activates it. I don't know if having a perssitent
compiler server a la jde-ecj-server would be useful, especially for
something done rarely and intentionally such as organize-imports.

Here's where I found out about flymake-mode for Java:
http://www.credmp.org/index.php/2007/07/20/on-the-fly-syntax-checking-ja
va-in-emacs/

The credmp.org functions make unnecessary use of JDE and had a couple of
bugs with 22.1.1. 
I've been able to make it work without JDE at all.  Here's what I'm
using:
http://graflex.org/klotz/weblog/2008/02/java-error-highlighting-in-emacs
.html


Leigh.

---------------------------------------

From:   Richard Stallman
Subject:        Re: Implementing Eclipse's "organize-imports" in Emacs
Lisp
Date:   Mon, 28 Jan 2008 16:33:05 -0500

    I don't how much of it is the GUI bits (which presumably Emacs
wouldn't
    use), but the normal Eclipse app is _extremely_ slow just to start,
even
    before you load a project.

    Of course it _also_ consumes vast amounts of memory, which make
having a
    persistent process around a bit less inviting ... :-(

Unless someone wants to write a totally new program, either we
use that one or we don't.

Someone interested in this should actually TRY doing this operation
without the GUI.  Speculating about it is not worth our time.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]