GNU bug report logs -
#15465
CC-mode misaligns enums that implement an interface in Java
Previous Next
Reported by: Paul Pogonyshev <pogonyshev <at> gmail.com>
Date: Thu, 26 Sep 2013 08:32:02 UTC
Severity: normal
Fixed in version 24.4
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Um, it seems to be worse than before. I guess your first patch worked
better, at least for my cases.
E.g. now I have:
public enum X implements Y, Z
{
A,
B;
}
On a side note, enum methods (and constructors --- yes, enums can
optionally have those) are fontified as variable names, though that is of
course less important than indentation.
Paul
On 13 October 2013 23:38, Alan Mackenzie <acm <at> muc.de> wrote:
> Hello, Paul.
>
> On Mon, Sep 30, 2013 at 09:23:53AM +0200, Paul Pogonyshev wrote:
> > Sorry, it doesn't apply.
>
> I don't understand what's gone wrong here. Anyway, I've just committed
> that patch to the Emacs trunk (revision #114650). Perhaps you could try
> out this latest fix too, and let me know if there are any more problems
> in this area. Thanks!
>
> > Paul
>
> --
> Alan Mackenzie (Nuremberg, Germany).
>
>
> > On 29 September 2013 17:03, Alan Mackenzie <acm <at> muc.de> wrote:
> >
> > > On Sat, Sep 28, 2013 at 09:15:52PM +0200, Paul Pogonyshev wrote:
> > > > > I've committed a fix, revision #114474, to the bzr trunk. Could
> > > > > you try out the change, please, and either confirm it fixes the
> > > > > bug properly, or tell me what hasn't yet been fixed.
> > >
> > > > Thank you. The case I initially mentioned works properly now, also
> with
> > > > multiple implemented interfaces. However, it seems to not know about
> > > > interfaces with generics:
> > >
> > > > public enum X implements Y <Z>
> > > > {
> > > > A,
> > > > B;
> > > > }
> > >
> > > Here's a better patch than the one from last night, which was
> > > demonstrably buggy. It should apply cleanly to the current trunk.
> > > Please let me know how thoroughly it works.
> > >
> > >
>
[Message part 2 (text/html, inline)]
This bug report was last modified 11 years and 207 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.