From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nathaniel Flath Newsgroups: gmane.emacs.devel Subject: Re: Minor bug in cc-menus.el: cc-imenu-java-generic-expression does not match all Java 1.5+ function definitions. Date: Tue, 21 Jul 2009 13:18:55 -0700 Message-ID: <5e3a506e0907211318i48f9e090u1ee58b066180d391@mail.gmail.com> References: <5e3a506e0907180827k148fe0d1x34b89f1fedf6c79d@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=000e0cd2176cc5024d046f3cf602 X-Trace: ger.gmane.org 1248207558 24831 80.91.229.12 (21 Jul 2009 20:19:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Jul 2009 20:19:18 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 21 22:19:11 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MTLnn-0000qz-Ql for ged-emacs-devel@m.gmane.org; Tue, 21 Jul 2009 22:19:08 +0200 Original-Received: from localhost ([127.0.0.1]:43020 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTLnn-0004Kf-3v for ged-emacs-devel@m.gmane.org; Tue, 21 Jul 2009 16:19:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MTLnj-0004Ka-3k for emacs-devel@gnu.org; Tue, 21 Jul 2009 16:19:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MTLnd-0004KG-Ns for emacs-devel@gnu.org; Tue, 21 Jul 2009 16:19:01 -0400 Original-Received: from [199.232.76.173] (port=52752 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTLnd-0004KD-GV for emacs-devel@gnu.org; Tue, 21 Jul 2009 16:18:57 -0400 Original-Received: from rv-out-0708.google.com ([209.85.198.249]:24628) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MTLnd-0000Ib-5R for emacs-devel@gnu.org; Tue, 21 Jul 2009 16:18:57 -0400 Original-Received: by rv-out-0708.google.com with SMTP id f25so1394019rvb.6 for ; Tue, 21 Jul 2009 13:18:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=LlUrU61aGStFpe6XFgh8j0/H7LJQs4sffmrlLhyVtjo=; b=AplxPuDEdosBus0sqIT2oDPqOe2X7fCJuwO7Im6G6A2zX9XzM1myg3tj8P3fwz/AQn E2QVWYF/oluGbj6rUw6ekKq9z8m+UrUi8ldIYXgulOvSFWddJ2ZWhUD4/O4Oyxe93Z0E pjWLVgNpB3GiSkUkNR9XF37X2J7ClLw/EUgWY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=tWvvBw4GCd2DGNdvb54y7Lh35aLzbHrMQg1bVOGnJgHrjF58SPMQNClvFTfSDqCdgQ Qr9ll6w649F6Fo30LtHTk4YhrLVFfFuVQ7yARc+wbNQ4KwBrXiBGri74F9wtQ7fLyiBJ fs1mwvFcGcpXPD+aHE5AYurcn+TucthhdbpWE= Original-Received: by 10.140.161.11 with SMTP id j11mr47356rve.86.1248207535669; Tue, 21 Jul 2009 13:18:55 -0700 (PDT) In-Reply-To: <5e3a506e0907180827k148fe0d1x34b89f1fedf6c79d@mail.gmail.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:112952 Archived-At: --000e0cd2176cc5024d046f3cf602 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Has anybody looked at this yet? On Sat, Jul 18, 2009 at 8:27 AM, Nathaniel Flath wrote: > I was using Imenu, and noticed that it currently doesn't recognize Java > functions with either: > Generics e.g : public List 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 > --000e0cd2176cc5024d046f3cf602 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Has anybody looked at this yet?

On Sat, J= ul 18, 2009 at 8:27 AM, Nathaniel Flath <flat0103@gmail.com> wrote:
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.

Attache= d is my patch which modifies this variables to accept all function definiti= ons and should fix this issue.


Thanks!
Nathaniel Flath

--000e0cd2176cc5024d046f3cf602--