all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Paul Pogonyshev <p.pogonyshev@anakreon.net>
Cc: 7075-done@debbugs.gnu.org
Subject: bug#7075: Various problems in syntax highlighting and indentation in Java mode
Date: Sun, 6 Oct 2019 13:49:49 +0200	[thread overview]
Message-ID: <CADwFkmmMMiZy4A21VUk+jyV4PW-JG5GT=dH91LHjXg4GNzXVBw@mail.gmail.com> (raw)
In-Reply-To: <201009201448.21935.p.pogonyshev@anakreon.net>

Paul Pogonyshev <p.pogonyshev@anakreon.net> writes:

> A change log entry states that some work to support Java 5+ has been
> done:
>
> 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
>
>     Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
>
> However, there are still many problems.  To reproduce, save the
> example at the end of this message as a Java file.

Thanks for the bug report.  Sorry you had to wait 9 years for a reply.

> Here are the errors I see:
> * 'bar' and 'ham' are not highlighted as variables (but 'foo' is);

I can't reproduce this, they both have font-lock-variable-name-face.

> * <Object> after 'new ArrayList' is not highlighted as a type (but in the
>   field declaration it is);

This seems to be fixed, too.  (They all have font-lock-type-face.)

> * ham() is not highlighted as a function name (but spam() is);

I guess you mean "egg" (ham is a variable)?  I can't reproduce this,
they both have font-lock-function-name-face.

> * 'xyz is not highlighted as a variable (but 'abc') is;

I can't reproduce this either.  xyz has font-lock-variable-name-face

> * items in enumeration 'Y' are indented incorrectly (but in 'X', which
>   doesn't implement any interfaces, they are aligned well); they are also
>   highlighted as variables, not as constants.

I can't reproduce this either.  It indents correctly.

> Version: GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.14.4)
>  of 2010-09-20 on racoon

Since this bug was reported 9 years ago, I'm going to assume these
issues have been fixed while you were waiting for a reply and close it
now.

If you're still seeing any of this on a modern version of Emacs, please
report back and we can reopen the bug.

Best regards,
Stefan Kangas





      reply	other threads:[~2019-10-06 11:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-20 11:48 bug#7075: Various problems in syntax highlighting and indentation in Java mode Paul Pogonyshev
2019-10-06 11:49 ` Stefan Kangas [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADwFkmmMMiZy4A21VUk+jyV4PW-JG5GT=dH91LHjXg4GNzXVBw@mail.gmail.com' \
    --to=stefan@marxist.se \
    --cc=7075-done@debbugs.gnu.org \
    --cc=p.pogonyshev@anakreon.net \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.