GNU bug report logs - #8630
23.1; Emacs freezes when creating nearly empty __init__.py

Previous Next

Package: emacs;

Reported by: Daniel Gonzalez <gonvaled <at> gonvaled.com>

Date: Fri, 6 May 2011 15:55:01 UTC

Severity: normal

Found in version 23.1

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

Bug is archived. No further changes may be made.

Full log


Message #17 received at 8630 <at> debbugs.gnu.org (full text, mbox):

From: Daniel Gonzalez <gonvaled <at> gonvaled.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: rgm <at> gnu.org, 8630 <at> debbugs.gnu.org
Subject: Re: bug#8630: 23.1;
	Emacs freezes when creating nearly empty __init__.py
Date: Fri, 6 May 2011 19:06:49 +0200
This line seems to be the culprit:

(autoload 'python-mode "python-mode" "Python Mode." t)

With that line commented out, the problem does not occur anymore.

And btw, it does not only occur with files named __init__.py, but also
other .py files.

The rule to reproduce it seems to be:
1) open a new buffer pointing to a non-existing .py file
2) enter some text - but not very much, just a bit. I have not
determined the maximum size for the problem to occur
3) save the buffer -> emacs freezes


On Fri, May 6, 2011 at 6:57 PM, Eli Zaretskii <eliz <at> gnu.org> wrote:
>> From: Daniel Gonzalez <gonvaled <at> gonvaled.com>
>> Date: Fri, 6 May 2011 18:11:02 +0200
>> Cc: 8630 <at> debbugs.gnu.org
>>
>> emacs -Q does not exhibit the problem. It seems it is caused by my
>> settings, or any of the loaded modules. Difficult to say what exactly,
>> since my .emacs is quite big.
>
> Can you bisect your .emacs until you find the culprit?
>




This bug report was last modified 14 years and 18 days ago.

Previous Next


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