From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Patrick Rutkowski Newsgroups: gmane.emacs.help Subject: java-mode indenting after @Override Date: Fri, 22 Apr 2011 13:47:31 -0400 Message-ID: <4db1bf34.d07cdc0a.25bc.1e7c@mx.google.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1303602207 544 80.91.229.12 (23 Apr 2011 23:43:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 23 Apr 2011 23:43:27 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Apr 24 01:43:24 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QDmTz-0005Vw-BW for geh-help-gnu-emacs@m.gmane.org; Sun, 24 Apr 2011 01:43:23 +0200 Original-Received: from localhost ([::1]:34018 helo=lists2.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QDmTy-00012a-HF for geh-help-gnu-emacs@m.gmane.org; Sat, 23 Apr 2011 19:43:22 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:57326) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QDKS6-0001UD-Rg for help-gnu-emacs@gnu.org; Fri, 22 Apr 2011 13:47:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QDKS6-0003ao-23 for help-gnu-emacs@gnu.org; Fri, 22 Apr 2011 13:47:34 -0400 Original-Received: from mail-vx0-f169.google.com ([209.85.220.169]:32927) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QDKS5-0003ag-Vi for help-gnu-emacs@gnu.org; Fri, 22 Apr 2011 13:47:34 -0400 Original-Received: by vxk20 with SMTP id 20so796317vxk.0 for ; Fri, 22 Apr 2011 10:47:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:content-type:content-transfer-encoding :subject:date:message-id:to:mime-version:x-mailer; bh=EAVObUmtowVTzO0kBaNWSTG+99pWRYjHPGN65aU/aPE=; b=HJ4kG7CqJHKsCuzpFeERenZabwtVXZMBXvfCGsVYx1wwt5medRWJtr+I5yCf+FaG/V 7m2yK8Cno0u2j8ra05ZrONC44h7AjWOFRx26ZUX/Bke53rIze4Mmw3qpOsUabmbtWiEW baFiTKgz31qQZ2MJPjbtDt03FtSSDfJcE8fHw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; b=oySIYr2opQ76DmSAPIxInrznPsvRewuK9oXPDxYneR24deCVb86LUCKviR9fCPZx42 QSjuPSs6FzsxetWAQ/tnyx2UoiSCQ79uhKOCttO8LFlbrL6uuA1lW5WlIPYyaz3D9ONf wtRrLwOl2AmRJp7cS5CeRxiB//PQn6mwS0pDY= Original-Received: by 10.52.177.7 with SMTP id cm7mr2004214vdc.231.1303494453112; Fri, 22 Apr 2011 10:47:33 -0700 (PDT) Original-Received: from [10.0.1.87] ([96.56.54.186]) by mx.google.com with ESMTPS id v16sm573106vcr.37.2011.04.22.10.47.32 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 22 Apr 2011 10:47:32 -0700 (PDT) X-Mailer: Apple Mail (2.1084) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.220.169 X-Mailman-Approved-At: Sat, 23 Apr 2011 19:43:17 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:80832 Archived-At: Have a look at the following code snippet of Java indented under java-mode: ======================================================================= 01: package com.rutski89.HelloWorld; 02: 03: import android.app.Activity; 04: import android.os.Bundle; 05: 06: public class HelloWorld extends Activity 07: { 08: /** Called when the activity is first created. */ 09: @Override 10: public void onCreate(Bundle savedInstanceState) 11: { 12: super.onCreate(savedInstanceState); 13: setContentView(R.layout.main); 14: } 15: } ======================================================================= Line 10 is too deeply indented, any ideas about which c-set-offset variable to change to fix that? The only customizations I already have are: (c-set-offset 'substatement-open 0) (c-set-offset 'inline-open 0)) Many thanks in advance for any tips, -Patrick