GNU bug report logs - #6899
[java-mode] values of an enum implementing an interface are indented incorrectly

Previous Next

Packages: emacs, cc-mode;

Reported by: Paul Pogonyshev <p.pogonyshev <at> anakreon.net>

Date: Mon, 23 Aug 2010 09:41:02 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 6899 in the body.
You can then email your comments to 6899 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#6899; Package emacs. (Mon, 23 Aug 2010 09:41:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Paul Pogonyshev <p.pogonyshev <at> anakreon.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 23 Aug 2010 09:41:02 GMT) Full text and rfc822 format available.

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

From: Paul Pogonyshev <p.pogonyshev <at> anakreon.net>
To: bug-gnu-emacs <at> gnu.org
Subject: [java-mode] values of an enum implementing an interface are indented
	incorrectly
Date: Mon, 23 Aug 2010 12:40:55 +0300
After 2010-07-31 changes by Nathaniel Flath, 'enum' in Java mode is
now highlighted as keyword.  However, its values are still not
indented properly _if_ it implements an interface:

    enum X implements Y
    {
        A,
            B,
            C;
    }

Note that if 'implements Y' is removed, indentation becomes correct.

This is on GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version
2.14.4).




Message #6 received at 6899-quiet <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 6899-quiet <at> debbugs.gnu.org
Subject: Re: bug#6899: [java-mode] values of an enum implementing an interface
	are indented incorrectly
Date: Mon, 03 Oct 2011 18:09:09 -0400
This is a subset of http://debbugs.gnu.org/7075 .




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

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

From: Alex <agrambot <at> gmail.com>
To: Paul Pogonyshev <p.pogonyshev <at> anakreon.net>
Cc: 6899 <at> debbugs.gnu.org
Subject: Re: bug#6899: [java-mode] values of an enum implementing an interface
 are indented incorrectly
Date: Sun, 14 Aug 2016 14:22:47 -0600
Paul Pogonyshev <p.pogonyshev <at> anakreon.net> writes:

> After 2010-07-31 changes by Nathaniel Flath, 'enum' in Java mode is
> now highlighted as keyword.  However, its values are still not
> indented properly _if_ it implements an interface:
>
>     enum X implements Y
>     {
>         A,
>             B,
>             C;
>     }
>
> Note that if 'implements Y' is removed, indentation becomes correct.
>
> This is on GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version
> 2.14.4).

close 6899 24.5
quit

This appears to be fixed in 24.5.




bug marked as fixed in version 24.5, send any further explanations to 6899 <at> debbugs.gnu.org and Paul Pogonyshev <p.pogonyshev <at> anakreon.net> Request was from Alex <agrambot <at> gmail.com> to control <at> debbugs.gnu.org. (Sun, 14 Aug 2016 20:27:02 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:04 GMT) Full text and rfc822 format available.

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

Previous Next


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