emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RFR cc-langs.el: change syntax for @ in Java


From: Filipp Gunbin
Subject: Re: RFR cc-langs.el: change syntax for @ in Java
Date: Thu, 08 Apr 2021 14:31:55 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin)

On 08/04/2021 10:15 +0000, Alan Mackenzie wrote:

> I've just run the CC Mode test suite with this amendment, and it
> produces the following successes on annotations-1.java:
>
> annotations-1.java:4: Expected analysis ((inclass 1) (topmost-intro 21)), got 
> ((inclass 21) (topmost-intro 21))
> annotations-1.java:4: Expected indentation 0, got 32
> annotations-1.java:5: Expected analysis ((class-close 1)), got ((class-close 
> 21))
>
> ..  So, there are things to sort out before we can apply the change.

Ok, I'll look into them.

> Again, what's the reason for this change?  There must be a test case
> where the current CC Mode handles some Java source code badly.

I use symbol-at-point in java buffers from another mode (javaimp), and @
is just not part of the symbol, but rather, a prefix.  Of course I could
always cut it out, but I think that it should be fixed in cc-mode (as it
may benefit other usages), thus my suggestion.

Filipp



reply via email to

[Prev in Thread] Current Thread [Next in Thread]