Subject: Re: bug#8630: 23.1; Emacs freezes when creating nearly empty __init__.py

From: Daniel Gonzalez <[email-masked]>
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 <[email-masked]> wrote:
>> From: Daniel Gonzalez <[email-masked]>
>> Date: Fri, 6 May 2011 18:11:02 +0200
>> Cc: [email-masked]
>>
>> 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?
>