all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: pmr@pajato.com
Cc: emacs-devel@gnu.org
Subject: Re: Implementing Eclipse's "organize-imports" in Emacs Lisp
Date: Mon, 28 Jan 2008 02:18:11 -0500	[thread overview]
Message-ID: <E1JJOFv-0001MB-Vm@fencepost.gnu.org> (raw)
In-Reply-To: <lu4pd6uo6f.fsf@lilly.pajato.com> (message from Paul Michael Reilly on Tue, 22 Jan 2008 05:53:12 -0500)

    One of the Eclipse features that I find indispensable is the Organize
    Imports feature which analyses the source file to determine if the
    import statements need to be pruned, augmented or modified (based on
    the .classpath file which is problematic since this file is an Eclipse
    artifact).  I would dearly love to have this capability in Emacs.

It seems to me that the best way to do this is by writing an
external command line program to report the info.  And then writing
an Emacs function to run that program and display the results.

    Have either of the other two Java developers who use Emacs done this
    perchance?  :-)  I'm guessing not.

    Assuming it does not exist, I'd be inclined to create a Java
    application to run in the background which provides an IPC mechanism
    to talk to Emacs Lisp.

Why make the communication so complex?  Why not just fork and exec?

What causes the "startup overhead"?  Is it loading a large analysis
program?  Is it parsing and analyzing your program?

  parent reply	other threads:[~2008-01-28  7:18 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-22 10:53 Implementing Eclipse's "organize-imports" in Emacs Lisp Paul Michael Reilly
2008-01-22 14:09 ` Lennart Borgman (gmail)
2008-01-24  8:07   ` Paul Michael Reilly
2008-01-24  8:17     ` Lennart Borgman (gmail)
     [not found]     ` <4798473D.1010505-9u8/wbatHBfQT0dZR+AlfA@public.gmane.org>
2008-01-24 13:59       ` Carlos Konstanski
2008-01-24 18:41         ` [jdee-users] " Paul Michael Reilly
2008-01-25  0:53       ` Yee Keat Phuah
2008-01-25  0:26         ` Tom Tromey
2008-01-25  8:36           ` Tassilo Horn
2008-01-25 16:40             ` Alan Shutko
2008-01-22 15:54 ` Tom Tromey
2008-01-28  7:18 ` Richard Stallman [this message]
2008-01-28  8:05   ` Miles Bader
2008-01-28 21:33     ` Richard Stallman
2008-01-28 12:09   ` Paul Michael Reilly
2008-01-28 21:32     ` Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2008-02-07 19:05 Klotz, Leigh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1JJOFv-0001MB-Vm@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=pmr@pajato.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.