From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: J Richardson Newsgroups: gmane.emacs.help Subject: Java mode indention Date: 31 Jul 2003 12:02:48 -0400 Organization: IBM Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1059668623 10482 80.91.224.249 (31 Jul 2003 16:23:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 31 Jul 2003 16:23:43 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 31 18:23:39 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 19iGCS-0002cv-00 for ; Thu, 31 Jul 2003 18:22:44 +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 19iG7x-0008Uh-VD for geh-help-gnu-emacs@m.gmane.org; Thu, 31 Jul 2003 12:18:05 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19iG6l-0008Au-N2 for help-gnu-emacs@gnu.org; Thu, 31 Jul 2003 12:16:51 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19iG6G-0007dW-BT for help-gnu-emacs@gnu.org; Thu, 31 Jul 2003 12:16:21 -0400 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19iG4E-0006sm-1B for help-gnu-emacs@gnu.org; Thu, 31 Jul 2003 12:14:14 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19iG0m-0001Qu-00 for ; Thu, 31 Jul 2003 18:10:40 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19iFu1-0000mE-00 for ; Thu, 31 Jul 2003 18:03:41 +0200 Original-Lines: 18 Original-X-Complaints-To: usenet@main.gmane.org User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 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:11508 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11508 I can't figure out how to get Emacs to indent this the way I'd like. It seems to be using the position of the last opening parenthesis as the offset. Writer out = new BufferedWriter(new FileWriter( "filename.log"))); I'd like it to use the base offset of the beginning of the statement instead. Writer out = new BufferedWriter(new FileWriter( "filename.log"))); Anyone have an idea? Thanks, Jen