GNU bug report logs - #2106
end-of-defun loops on malformed python code

Previous Next

Package: emacs;

Reported by: Sid <bvk.groups <at> gmail.com>

Date: Thu, 29 Jan 2009 16:20:02 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 2106 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Sid <bvk.groups <at> gmail.com>
Cc: rfrancoise <at> debian.org, 2106 <at> debbugs.gnu.org
Subject: Re: bug#2106: 23.0.60; which-function-mode locks up emacs 23 with 
	100% cpu
Date: Fri, 30 Jan 2009 09:53:08 +0100
On Thu, Jan 29, 2009 at 15:48, Sid <bvk.groups <at> gmail.com> wrote:

> I noticed that if i have which-function-mode enabled in my init script
> (~/.emacs) and i open any malformed python file it locks up the emacs
> window with 100% cpu utilization.

You don't even have to use which-function-mode. In your example, just
move the point to the last line and type C-M-e (that's end-of-defun).
It loops.

    Juanma




This bug report was last modified 16 years and 168 days ago.

Previous Next


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