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


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




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

Previous Next


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