From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.help Subject: Re: Can Emacs beat NetBeans or Eclipse? Date: Mon, 24 Dec 2007 14:29:10 -0700 Message-ID: References: <44dddf400712120600s523bbc84q5a448605a9badb71@mail.gmail.com> <13n07j691u63088@corp.supernews.com> Reply-To: tromey@redhat.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1198533551 10572 80.91.229.12 (24 Dec 2007 21:59:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Dec 2007 21:59:11 +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 Dec 24 22:59:24 2007 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 1J6vKW-0000oI-FJ for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Dec 2007 22:59:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J6vKC-0006M5-3O for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Dec 2007 16:59:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J6vJs-0006JK-Gi for help-gnu-emacs@gnu.org; Mon, 24 Dec 2007 16:58:44 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J6vJm-0006AE-QO for help-gnu-emacs@gnu.org; Mon, 24 Dec 2007 16:58:44 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J6vJm-0006A1-E9 for help-gnu-emacs@gnu.org; Mon, 24 Dec 2007 16:58:38 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1J6vJm-0007pE-Di for help-gnu-emacs@gnu.org; Mon, 24 Dec 2007 16:58:38 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1J6vJW-00055J-5u for help-gnu-emacs@gnu.org; Mon, 24 Dec 2007 21:58:22 +0000 Original-Received: from 207.189.197.107 ([207.189.197.107]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 24 Dec 2007 21:58:22 +0000 Original-Received: from tromey by 207.189.197.107 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 24 Dec 2007 21:58:22 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 37 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 207.189.197.107 X-Attribution: Tom User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux) Cancel-Lock: sha1:ePG6PJu++AfZLpx9OW82gvF3Z/A= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:50314 Archived-At: >>>>> "Mark" == Mark Elston writes: >> Eclipse also has some nice team features. You can check in various >> project files and anyone who checks out the project will automatically >> get the right indentation settings, language compliance settings, >> build paths, etc. Emacs doesn't have anything like this built in; and >> generally Emacs doesn't really have a "project" concept the way >> Eclipse does (this is both a strength and a weakness of Eclipse). Mark> While I don't remember all the variables off the top of my head Mark> here is what I would do for 'team' editing in Emacs: Mark> %%% Local Variables: [..] Yeah... except you have to do this for every file. And, you can't make a "new file skeleton" this way -- in Classpath we used this to insert GPL headers and the like automatically. This problem applies to any setting which is attached to the "project" and not necessarily to a particular file. Also, if you decide to change a setting... ugh, you have to edit every file. So, it really isn't the same. FWIW I have a patch to Emacs that adds this sort of functionality. I need to address the last round of critique before it can go in, though... I've been slacking on that. Don't get me wrong here -- I love Emacs and I want it to excel. As part of this I think it is important to recognize what is good about other environments and try to adopt the things that make sense. That's why I wrote the project-settings code :-). I suppose if I had a lot of time and was still doing a lot of Java work, I'd look at bringing the Eclipse compiler technology over as well. Tom