bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#17509: 23.4; bug with regexp in java-mode


From: Francesco Potortì
Subject: bug#17509: 23.4; bug with regexp in java-mode
Date: Fri, 16 May 2014 18:22:16 +0200

>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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]