From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Francesco Mazzoli Newsgroups: gmane.emacs.help Subject: Emacs and Java Date: Fri, 14 Sep 2012 12:25:12 +0100 Message-ID: <87har0onhj.wl%f@mazzo.li> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1347621846 4757 80.91.229.3 (14 Sep 2012 11:24:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Sep 2012 11:24:06 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 14 13:24:09 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TCU0G-0002aa-Hc for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Sep 2012 13:24:08 +0200 Original-Received: from localhost ([::1]:46475 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCU0C-0002Nb-Lz for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Sep 2012 07:24:04 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41439) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCU02-0002NI-8U for help-gnu-emacs@gnu.org; Fri, 14 Sep 2012 07:23:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCTzv-0002uV-Ic for help-gnu-emacs@gnu.org; Fri, 14 Sep 2012 07:23:54 -0400 Original-Received: from mail-pb0-f41.google.com ([209.85.160.41]:40273) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCTzv-0002tu-C0 for help-gnu-emacs@gnu.org; Fri, 14 Sep 2012 07:23:47 -0400 Original-Received: by pbbro12 with SMTP id ro12so6270170pbb.0 for ; Fri, 14 Sep 2012 04:23:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:message-id:from:to:subject:user-agent:mime-version :content-type:x-gm-message-state; bh=K6grD9Yuc1L2ZVP4FP334VXPRyGPskzOF54iJXST4JI=; b=ESsf+5DvcWNTpprUpMnyaFZGo54wFsihN/lKo9A6CyrzqiUU9yZ9T+irP1zbQtbqFT DtCElF7qMLlmIawXHVMwmnatHdzEFLyUzCZklGUG3YYX+EWGcCD+ojV36su3zL3wGWZh PWS5p6dNXysWUmA4ntdNBERIiezfM6mCbAAvNcqu/OF4h74V3nkyh5ul8UlvrDrgYwQi N+o1STpnBwjLzuxrh2HEBEdVxDzn6jfMm004uEwzB/N9/Pv7sUMMf3HWn2sEq3gLdCpv qaSbP0lNtNSXZiHcm74+wkymvEh+WF+gjt32IVv4VaQHx10AqPXqRGnSt3nhXdUvmw4k eS1A== Original-Received: by 10.68.224.161 with SMTP id rd1mr4779286pbc.133.1347621824831; Fri, 14 Sep 2012 04:23:44 -0700 (PDT) Original-Received: from mcnulty.mazzo.li (vm-shell1.doc.ic.ac.uk. [146.169.21.39]) by mx.google.com with ESMTPS id gi2sm825608pbc.59.2012.09.14.04.23.40 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 14 Sep 2012 04:23:43 -0700 (PDT) User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/23.3 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-Gm-Message-State: ALoCoQkzaER+mTrECqfQMb58ptE3n5XUeQFs2uSApLUGDYAgyOCRAO+CQfnkNd0Vd4Zj5AXUwaHL X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.160.41 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:86761 Archived-At: 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 : promises support for what JDEE is lacking. Building with stock Maven and Emacs on Ubuntu 12.04 fails. There is a fork () 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