all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Francesco Mazzoli <f@mazzo.li>
To: help-gnu-emacs@gnu.org
Subject: Emacs and Java
Date: Fri, 14 Sep 2012 12:25:12 +0100	[thread overview]
Message-ID: <87har0onhj.wl%f@mazzo.li> (raw)

Hi,

As much as I dislike Java, I find myself having to write Java code from time to
time, and I'm sure that a lot of you are in the same situation.

Given that, I find it very surprising that support for the Java language in
Emacs is abysmal.

I tried:

  * java-mode: does not support any modern Java construct, and with modern I
    mean >= Java 5 (generics, foreach loops, enums).
  * JDEE: seems to be completely unmaintained and barely working with modern
    emacsen, and lacking support for post-2004 Java as well.
  * malabar-mode <https://github.com/espenhw/malabar-mode/>: promises support
    for what JDEE is lacking.  Building with stock Maven and Emacs on Ubuntu
    12.04 fails.  There is a fork (<https://github.com/buzztaiki/malabar-mode>)
    that seems more maintained but building fails there as well with a different
    error.

So it seems that there is no way to at least edit comfortably Java code, let
alone have flymake, semantic features, etc.  This seems a huge gap in what is
the best editor out there.

Am I correct, or is there hope in some project I haven't considered?
malabar-mode seems to be the best candidate (if you can get it working) but
frankly I'm not that comfortable using it since it pulls a huge number of
dependencies and I don't want something to fancy anyway.

--
Francesco * Often in error, never in doubt



             reply	other threads:[~2012-09-14 11:25 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-14 11:25 Francesco Mazzoli [this message]
2012-09-14 13:28 ` Emacs and Java Eli Zaretskii
2012-09-14 14:14   ` Francesco Mazzoli
2012-09-14 14:32     ` Francesco Mazzoli
2012-09-14 15:01       ` Francesco Mazzoli
2012-09-14 13:35 ` Ludwig, Mark
     [not found] ` <CAHW=5p_PBvqzLFa0dFGgTvKS94oU2mn9332G7Ce1VLZwRQjDiQ@mail.gmail.com>
2012-09-14 16:29   ` Grégoire Neuville
2012-09-15  7:25     ` Francesco Mazzoli
2012-09-16  6:53       ` Tom
2012-09-15  0:53 ` Leo
2012-09-15  7:27   ` Francesco Mazzoli
2012-09-15  8:15     ` Eli Zaretskii
2012-09-15 11:17       ` Jambunathan K
2012-09-15 11:48         ` Jambunathan K
2012-09-15 20:57         ` Francesco Mazzoli
2012-09-15  7:22 ` JDEE help (was: Emacs and Java) Francesco Mazzoli
2012-09-15  8:17   ` Eli Zaretskii
2012-09-15  9:28   ` Forward: " Francesco Mazzoli
2012-09-15 18:39   ` JDEE help Philipp Haselwarter

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=87har0onhj.wl%f@mazzo.li \
    --to=f@mazzo.li \
    --cc=help-gnu-emacs@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 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.