unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Paul Michael Reilly <pmr@pajato.com>
To: rms@gnu.org
Cc: emacs-devel@gnu.org
Subject: Re: Implementing Eclipse's "organize-imports" in Emacs Lisp
Date: Mon, 28 Jan 2008 07:09:33 -0500	[thread overview]
Message-ID: <479DC5FD.50904@pajato.com> (raw)
In-Reply-To: <E1JJOFv-0001MB-Vm@fencepost.gnu.org>

Richard Stallman wrote:
...
> 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.

My experience is that starting up a Java program appears to take longer 
than a non-Java program, although with each Sun release and with the 
OpenJDK that situation appears to be getting better.  But your point is 
well taken that the simplest approach is the preferable approach until 
it can be verified that the startup time does, in fact, have a negative 
impact.

But this appears to be moot since the JDEE community has addressed the 
problem and might already have a solution.

...
> 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?

Yes, it is a parsing and analysis program.

-pmr

  parent reply	other threads:[~2008-01-28 12:09 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
2008-01-28  8:05   ` Miles Bader
2008-01-28 21:33     ` Richard Stallman
2008-01-28 12:09   ` Paul Michael Reilly [this message]
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=479DC5FD.50904@pajato.com \
    --to=pmr@pajato.com \
    --cc=emacs-devel@gnu.org \
    --cc=rms@gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).