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

Previous Next

Packages: cc-mode, emacs;

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.

Full log


View this message in rfc822 format

From: Alex <agrambot <at> gmail.com>
To: Paul Pogonyshev <p.pogonyshev <at> anakreon.net>
Cc: 6899 <at> debbugs.gnu.org
Subject: 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.




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

Previous Next


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