GNU bug report logs - #3910
Minor bug in cc-menus.el: cc-imenu-java-generic-expression does not match all Java 1.5+ function definitions.

Previous Next

Packages: emacs, cc-mode;

Reported by: Nathaniel Flath <flat0103 <at> gmail.com>

Date: Thu, 23 Jul 2009 21:55:05 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 3910 in the body.
You can then email your comments to 3910 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report stored :
bug#3910; Package emacs,cc-mode. (Thu, 23 Jul 2009 21:55:06 GMT) Full text and rfc822 format available.

Message #3 received at quiet <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Nathaniel Flath <flat0103 <at> gmail.com>
To: quiet <at> debbugs.gnu.org
Subject: Minor bug in cc-menus.el: cc-imenu-java-generic-expression does not
	match all Java 1.5+ function definitions.
Date: Sat, 18 Jul 2009 08:27:10 -0700
[Message part 1 (text/plain, inline)]
Package: emacs,cc-mode

I was using Imenu, and noticed that it currently doesn't recognize Java
functions with either:
Generics e.g : public List<String> foo() { ...
or annotated arguments, e.g : public void foo( @NonNull bar ) {


The issue was the variable cc-imenu-java-generic-expression.

Attached is my patch which modifies this variables to accept all function
definitions and should fix this issue.


Thanks!
Nathaniel Flath
[Message part 2 (text/html, inline)]
[cc-menus.patch (text/x-patch, attachment)]

bug closed, send any further explanations to Nathaniel Flath <flat0103 <at> gmail.com> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Thu, 19 Nov 2009 07:30:04 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <bug-gnu-emacs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 17 Dec 2009 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 186 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.