From xemacs-m  Thu Feb  6 10:48:54 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id KAA18622
	for <xemacs-beta@xemacs.org>; Thu, 6 Feb 1997 10:48:53 -0600 (CST)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.5/8.8.5) id IAA16257;
	Thu, 6 Feb 1997 08:59:57 -0800
To: xemacs-beta@xemacs.org
Subject: Re: Unstoppable loop
References: <199702031606.LAA18384@anthem.CNRI.Reston.Va.US>
X-Url: http://www.miranova.com/%7Esteve/
Mail-Copies-To: never
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@miranova.com>
In-Reply-To: "Barry A. Warsaw"'s message of Mon, 3 Feb 1997 11:06:15 -0500
Mime-Version: 1.0 (generated by tm-edit 7.101)
Content-Type: text/plain; charset=US-ASCII
Date: 06 Feb 1997 08:59:56 -0800
Message-ID: <m2iv45vpir.fsf@altair.xemacs.org>
Lines: 33
X-Mailer: Gnus v5.4.11/XEmacs 20.0

Barry A Warsaw writes:

> XEmacs 19.15b90, Solaris 2.5, cc-mode 4.353.

> Visit the following Java file.

import java.io.*;
import java.lang.*;

class foo
{
public static void main(String[] args) throws java.io.IOException, java.io.FileNotFoundException
    {
        FileInputStream bs = new FileInputStream("j.dat");
        System.out.println(bs.readLine());
    }
}


> Put the cursor on the brace that opens
> the main() method.  Hit C-M-a (beginning-of-defun).  XEmacs will enter
> a CPU intensive loop searching backwards for defun-prompt-regexp
> (which in Java mode is currently c-Java-defun-prompt-regexp, i.e. not
> nil).

> C-g will not break out of this.

Neither will Ctrl-Shift-G.  Problem verified in 20.0 and 19.15-b93.
The current cc-mode is O.K.  Should we avoid upgrading for awhile or
replace the 4.353 c-Java-defun-prompt-regexp with the one in 4.322?
-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be billed at $250/message.

