From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: java syntax highlighting with generics Date: Sun, 6 Aug 2006 11:45:23 +0200 Message-ID: <55A0F1A0-67D7-4A0D-B753-31E9323AEB86@Web.DE> References: <3dd187620608041114g46503901vf4a9ed64a9e2f6e3@mail.gmail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1154857553 14238 80.91.229.2 (6 Aug 2006 09:45:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 6 Aug 2006 09:45:53 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 06 11:45:52 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G9fCh-0005dl-Cl for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Aug 2006 11:45:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G9fCg-0003C0-HZ for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Aug 2006 05:45:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G9fCP-0003Ap-8R for help-gnu-emacs@gnu.org; Sun, 06 Aug 2006 05:45:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G9fCM-0003AZ-H8 for help-gnu-emacs@gnu.org; Sun, 06 Aug 2006 05:45:31 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G9fCM-0003AW-Cs for help-gnu-emacs@gnu.org; Sun, 06 Aug 2006 05:45:30 -0400 Original-Received: from [217.72.192.227] (helo=fmmailgate02.web.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G9fGL-0001mD-8Y for help-gnu-emacs@gnu.org; Sun, 06 Aug 2006 05:49:37 -0400 Original-Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166]) by fmmailgate02.web.de (Postfix) with ESMTP id DCB1CEF599B; Sun, 6 Aug 2006 11:45:28 +0200 (CEST) Original-Received: from [84.245.175.136] (helo=[192.168.1.2]) by smtp05.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.107 #114) id 1G9fCH-0001Dk-00; Sun, 06 Aug 2006 11:45:25 +0200 In-Reply-To: <3dd187620608041114g46503901vf4a9ed64a9e2f6e3@mail.gmail.com> X-Image-Url: http://homepage.mac.com/sparifankal/.cv/thumbs/me.thumbnail Original-To: gg.t.gadget_saavik@xoxy.net X-Mailer: Apple Mail (2.752.2) X-Sender: Peter_Dyballa@web.de X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:36534 Archived-At: Am 04.08.2006 um 20:14 schrieb gg.t.gadget_saavik@xoxy.net: > First of all, is there a version of java-mode or JDE (I'm a little > confused as to the relationship if any between the two) that can > handle generics and type parameters? I don't know! But isn't JDE just a generic acronym for *any* Java Development Environment? The different modes in GNU Emacs support for example programming languages by high-lighting particular key words or indenting blocks of code. Another means is that you can insert from a menu particular key words or get special menus. > I am using the Emacs distribution that comes with Red Hat Enterprise 3 > and method declarations with type parameters don't have the method > names colored, nor do they show up as speedbar tags. Could be that auto-mode-alist has no mapping provided for your Java files: (setq auto-mode-alist (append '(("\\.java\\'" . java-mode) auto-mode-alist))) C-h v reveals a variable's value. > > By the way, how can I display the version number in such a way that I > can select it to copy and paste? > Either C-h v emacs-version RET and then copy from the *Help* buffer, or M-x emacs-version RET and then change to *Messages* buffer. -- Greetings Pete One doesn't expect governments to obey the law because of some higher moral development. One expects them to obey the law because they know that if they don't, those who aren't shot will be hanged. --Michael Shirley