From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Francesco =?UTF-8?Q?Potort=C3=AC?= Newsgroups: gmane.emacs.bugs Subject: bug#17509: 23.4; bug with regexp in java-mode Date: Fri, 16 May 2014 18:22:16 +0200 Message-ID: References: <87lhu1g66g.fsf@tucano.isti.cnr.it> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Trace: ger.gmane.org 1400257461 29133 80.91.229.3 (16 May 2014 16:24:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 May 2014 16:24:21 +0000 (UTC) Cc: 17509@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 16 18:24:15 2014 Return-path: Envelope-to: geb-bug-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 1WlKvc-00012l-Lg for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 May 2014 18:24:12 +0200 Original-Received: from localhost ([::1]:36823 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlKvc-0007cQ-8j for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 May 2014 12:24:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42307) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlKuc-0005d1-LC for bug-gnu-emacs@gnu.org; Fri, 16 May 2014 12:23:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WlKuU-0000qr-Ox for bug-gnu-emacs@gnu.org; Fri, 16 May 2014 12:23:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44454) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlKuU-0000qm-Mb for bug-gnu-emacs@gnu.org; Fri, 16 May 2014 12:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WlKuU-0006oo-2t for bug-gnu-emacs@gnu.org; Fri, 16 May 2014 12:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Francesco =?UTF-8?Q?Potort=C3=AC?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 May 2014 16:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17509 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17509-submit@debbugs.gnu.org id=B17509.140025734326154 (code B ref 17509); Fri, 16 May 2014 16:23:02 +0000 Original-Received: (at 17509) by debbugs.gnu.org; 16 May 2014 16:22:23 +0000 Original-Received: from localhost ([127.0.0.1]:37518 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WlKtr-0006nm-7r for submit@debbugs.gnu.org; Fri, 16 May 2014 12:22:23 -0400 Original-Received: from blade3.isti.cnr.it ([194.119.192.19]:13251) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WlKtn-0006nZ-Lt for 17509@debbugs.gnu.org; Fri, 16 May 2014 12:22:21 -0400 Original-Received: from tucano.isti.cnr.it ([146.48.81.102]) by mx.isti.cnr.it (PMDF V6.5-x6 #32097) with ESMTPSA id <01P7VZ1KACXSXQW5NF@mx.isti.cnr.it> for 17509@debbugs.gnu.org; Fri, 16 May 2014 18:22:17 +0200 (MEST) Original-Received: from pot by tucano.isti.cnr.it with local (Exim 4.82) (envelope-from ) id 1WlKtk-0002WX-Pz; Fri, 16 May 2014 18:22:17 +0200 In-reply-to: X-INSM-ip-source: 146.48.81.102 Auth Done X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:89170 Archived-At: >Francesco Potortì wrote: > >> (setq defun-prompt-regexp "\\(class\\|/\\*\\*\\)[^{]*") > >Why is this an Emacs bug, and not user error? Because I suppose that Emacs should never hang... >That regexp matches the entire example file that you sent. >Maybe you at least want "[^{\n]*" at the end. To be true, I do not even know where that regexp comes from, what is its purpose and why I did have it in my .emacs :( Thanks for the tip.