GNU bug report logs - #17509
23.4; bug with regexp in java-mode

Previous Next

Package: emacs;

Reported by: Francesco Potortì <Potorti <at> isti.cnr.it>

Date: Fri, 16 May 2014 15:37:01 UTC

Severity: minor

Tags: notabug

Found in version 23.4

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: Francesco Potortì <Potorti <at> isti.cnr.it>
Cc: 17509 <at> debbugs.gnu.org
Subject: bug#17509: 23.4; bug with regexp in java-mode
Date: Fri, 16 May 2014 12:07:42 -0400
Francesco Potortì wrote:

> 	    (setq defun-prompt-regexp "\\(class\\|/\\*\\*\\)[^{]*")

Why is this an Emacs bug, and not user error?
That regexp matches the entire example file that you sent.
Maybe you at least want "[^{\n]*" at the end.




This bug report was last modified 11 years and 10 days ago.

Previous Next


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