From: Filipp Gunbin <fgunbin@fastmail.fm>
To: Alan Mackenzie <acm@muc.de>
Cc: emacs-devel@gnu.org
Subject: Re: RFR cc-langs.el: change syntax for @ in Java
Date: Thu, 08 Apr 2021 14:31:55 +0300 [thread overview]
Message-ID: <m2mtu9t3kk.fsf@fastmail.fm> (raw)
In-Reply-To: <YG7Xw7yg9FcMXY0n@ACM> (Alan Mackenzie's message of "Thu, 8 Apr 2021 10:15:31 +0000")
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
next prev parent reply other threads:[~2021-04-08 11:31 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-07 20:41 RFR cc-langs.el: change syntax for @ in Java Filipp Gunbin
2021-04-08 9:29 ` Alan Mackenzie
2021-04-08 10:15 ` Alan Mackenzie
2021-04-08 11:31 ` Filipp Gunbin [this message]
2021-04-08 17:26 ` Filipp Gunbin
2021-04-12 13:36 ` Alan Mackenzie
2021-04-12 17:33 ` Filipp Gunbin
2021-04-13 10:28 ` Alan Mackenzie
2021-04-13 14:45 ` Filipp Gunbin
2021-04-14 19:55 ` Alan Mackenzie
2021-04-14 21:31 ` Ergus
2021-04-15 14:42 ` Filipp Gunbin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2mtu9t3kk.fsf@fastmail.fm \
--to=fgunbin@fastmail.fm \
--cc=acm@muc.de \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).