From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Michael Reilly Newsgroups: gmane.emacs.devel Subject: Re: Implementing Eclipse's "organize-imports" in Emacs Lisp Date: Mon, 28 Jan 2008 07:09:33 -0500 Message-ID: <479DC5FD.50904@pajato.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1201522200 11693 80.91.229.12 (28 Jan 2008 12:10:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Jan 2008 12:10:00 +0000 (UTC) Cc: emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 28 13:10:17 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JJSoQ-0005hZ-TA for ged-emacs-devel@m.gmane.org; Mon, 28 Jan 2008 13:10:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JJSo0-0001g7-2W for ged-emacs-devel@m.gmane.org; Mon, 28 Jan 2008 07:09:40 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JJSnx-0001g0-9P for emacs-devel@gnu.org; Mon, 28 Jan 2008 07:09:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JJSnv-0001eg-Me for emacs-devel@gnu.org; Mon, 28 Jan 2008 07:09:36 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JJSnv-0001ed-Hf for emacs-devel@gnu.org; Mon, 28 Jan 2008 07:09:35 -0500 Original-Received: from 68-191-253-210.static.oxfr.ma.charter.com ([68.191.253.210] helo=copa.pajato.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JJSnv-0002dl-DI for emacs-devel@gnu.org; Mon, 28 Jan 2008 07:09:35 -0500 Original-Received: from lilly.pajato.com (68-191-253-213.static.oxfr.ma.charter.com [68.191.253.213]) (authenticated bits=0) by copa.pajato.com (8.14.1/8.13.8) with ESMTP id m0SC9X77023469 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 28 Jan 2008 07:09:34 -0500 User-Agent: Thunderbird 2.0.0.9 (X11/20071115) In-Reply-To: X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (copa.pajato.com [68.191.253.210]); Mon, 28 Jan 2008 07:09:34 -0500 (EST) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:87705 Archived-At: 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