From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@gmx.net (=?iso-8859-1?q?Kai_Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Lobotimze Java mode indentation engine? Date: Tue, 29 Jul 2003 14:05:36 +0200 Organization: University of Duisburg, Germany Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <84ptjto7vz.fsf@slowfox.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1059481377 14532 80.91.224.249 (29 Jul 2003 12:22:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 29 Jul 2003 12:22:57 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 29 14:22:55 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19hTUh-0003jk-00 for ; Tue, 29 Jul 2003 14:22:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19hTJK-0005IN-BT for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Jul 2003 08:10:34 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!pd951f7f7.dip.t-dialin.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 17 Original-NNTP-Posting-Host: pd951f7f7.dip.t-dialin.net (217.81.247.247) Original-X-Trace: news.uni-berlin.de 1059480336 22277163 217.81.247.247 (16 [73968]) Mail-Copies-To: never User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:Q4aB0C9AqlBp3eghf35dh/S2Y2Q= Original-Xref: shelby.stanford.edu gnu.emacs.help:115517 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:11435 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11435 I think it might be useful, for consistency with others, to frob the Java indentation settings such that a line after an open paren is indented as + or ++ instead of aligning with the open paren. Maybe it would be even more useful if this only happened if the open paren was the last thing on a line, whereas the existing behavior stays if there is stuff after the open paren. This way, I could get: some_function(first_arg, second_arg); some_really_long_function_name_with_args_on_next_line( first_arg, second_arg); Ideas? -- ~/.signature