From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong 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, 28 Jul 2009 23:28:10 -0400 Message-ID: <871vo05fsl.fsf@cyd.mit.edu> References: <5e3a506e0907180827k148fe0d1x34b89f1fedf6c79d@mail.gmail.com> <20090728101959.GA2295@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1248838069 28641 80.91.229.12 (29 Jul 2009 03:27:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Jul 2009 03:27:49 +0000 (UTC) Cc: Nathaniel Flath , emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 29 05:27:42 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 1MVzpM-0007gK-Oi for ged-emacs-devel@m.gmane.org; Wed, 29 Jul 2009 05:27:41 +0200 Original-Received: from localhost ([127.0.0.1]:39131 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MVzpM-00019b-5d for ged-emacs-devel@m.gmane.org; Tue, 28 Jul 2009 23:27:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MVzpH-00018y-51 for emacs-devel@gnu.org; Tue, 28 Jul 2009 23:27:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MVzpC-00017s-4m for emacs-devel@gnu.org; Tue, 28 Jul 2009 23:27:34 -0400 Original-Received: from [199.232.76.173] (port=41097 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MVzpC-00017p-0h for emacs-devel@gnu.org; Tue, 28 Jul 2009 23:27:30 -0400 Original-Received: from cyd.mit.edu ([18.115.2.24]:41446) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MVzpB-0006I8-OF for emacs-devel@gnu.org; Tue, 28 Jul 2009 23:27:29 -0400 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id E7FF957E21A; Tue, 28 Jul 2009 23:28:10 -0400 (EDT) In-Reply-To: <20090728101959.GA2295@muc.de> (Alan Mackenzie's message of "Tue, 28 Jul 2009 10:19:59 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:113322 Archived-At: Alan Mackenzie writes: > OK. I've not looked at it in all that great detail, and haven't tried > it out yet. I'm not actually a Java hacker. > > How confident are you that your proposed regexp won't spuriously match > things with "less than" or "greater than" tokens? Or, if it will, would > these matches be rare enough that we needn't worry too much? > > Is there any chance you could send me a test file showing a typical > generic construct that the new regexp would match, and possibly > constructs with "less/greater than" which it "doesn't quite" match? By the way, it might be good to accumulate a test suite for CC mode, along the lines of etc/compilation.txt. I don't know if you already have something like that; if so, we can put it in the new test/ directory. (We should probably move etc/compilation into test/ also.)