GNU bug report logs - #8494
Java indentation with anotations

Previous Next

Packages: cc-mode, emacs;

Reported by: Diogo Sousa <diogogsousa <at> gmail.com>

Date: Wed, 13 Apr 2011 20:03:01 UTC

Severity: normal

Fixed in version 24.5

Done: Alex <agrambot <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Diogo Sousa <diogogsousa <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Java indentation with anotations
Date: Wed, 13 Apr 2011 20:53:15 +0100
[Message part 1 (text/plain, inline)]
Hello,

I'm reporting a bug in java-mode indentation.

When class or method anotations are present emacs incorrecly idents them:

@Foo
        class Mumble
 {
         @Atomic
                 void foo()
         {

         }
}

When it should be:

@Foo
class Mumble
{
         @Atomic
         void foo()
         {

         }
}


Thank You,
Diogo Sousa

[signature.asc (application/pgp-signature, attachment)]

This bug report was last modified 8 years and 277 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.