GNU bug report logs - #8494
Java indentation with anotations

Previous Next

Packages: emacs, cc-mode;

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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 8494 in the body.
You can then email your comments to 8494 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8494; Package emacs. (Wed, 13 Apr 2011 20:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Diogo Sousa <diogogsousa <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 13 Apr 2011 20:03:02 GMT) Full text and rfc822 format available.

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)]

Information forwarded to bug-gnu-emacs <at> gnu.org, bug-cc-mode <at> gnu.org:
bug#8494; Package emacs,cc-mode. (Sun, 14 Aug 2016 21:08:02 GMT) Full text and rfc822 format available.

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

From: Alex <agrambot <at> gmail.com>
To: Diogo Sousa <diogogsousa <at> gmail.com>
Cc: 8494 <at> debbugs.gnu.org
Subject: Re: bug#8494: Java indentation with anotations
Date: Sun, 14 Aug 2016 15:07:03 -0600
close 8494 24.5
quit

Diogo Sousa <diogogsousa <at> gmail.com> writes:

> 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

This indents correctly in 24.5.




bug marked as fixed in version 24.5, send any further explanations to 8494 <at> debbugs.gnu.org and Diogo Sousa <diogogsousa <at> gmail.com> Request was from Alex <agrambot <at> gmail.com> to control <at> debbugs.gnu.org. (Sun, 14 Aug 2016 21:08:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 12 Sep 2016 11:24:03 GMT) Full text and rfc822 format available.

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.