From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Gonzalez Newsgroups: gmane.emacs.bugs Subject: bug#8630: 23.1; Emacs freezes when creating nearly empty __init__.py Date: Fri, 6 May 2011 19:06:49 +0200 Message-ID: References: <83oc3flqbq.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1304701692 3583 80.91.229.12 (6 May 2011 17:08:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 6 May 2011 17:08:12 +0000 (UTC) Cc: 8630@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 06 19:08:07 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QIOVa-00038U-NJ for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 May 2011 19:08:06 +0200 Original-Received: from localhost ([::1]:57609 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QIOVZ-0003mj-Qd for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 May 2011 13:08:05 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:33830) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QIOVX-0003me-M4 for bug-gnu-emacs@gnu.org; Fri, 06 May 2011 13:08:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QIOVW-0000Ac-P4 for bug-gnu-emacs@gnu.org; Fri, 06 May 2011 13:08:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47046) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QIOVW-0000AY-NX for bug-gnu-emacs@gnu.org; Fri, 06 May 2011 13:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QIOVW-0000VI-2G; Fri, 06 May 2011 13:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Daniel Gonzalez Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 May 2011 17:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8630 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8630-submit@debbugs.gnu.org id=B8630.13047016381880 (code B ref 8630); Fri, 06 May 2011 17:08:02 +0000 Original-Received: (at 8630) by debbugs.gnu.org; 6 May 2011 17:07:18 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QIOUo-0000UH-2o for submit@debbugs.gnu.org; Fri, 06 May 2011 13:07:18 -0400 Original-Received: from mo-p00-ob.rzone.de ([81.169.146.161]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QIOUm-0000U5-2J for 8630@debbugs.gnu.org; Fri, 06 May 2011 13:07:17 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1304701630; l=950; s=domk; d=gonvaled.com; h=Content-Type:Cc:To:Subject:Date:From:References:In-Reply-To: MIME-Version:X-RZG-CLASS-ID:X-RZG-AUTH; bh=xOHqBiCCGCtiTmmx7GaKWAEga0o=; b=GQmlG+jvkAsHzJ5++2kwjG5WIDRcbD+zkKM0i/mLDtQYv3OOZDCyx/z93kxAivq2c7l r2CF2lPzBFoFpC2ohgLu6Op1zpdR87MAq5BJn8cm4EifLWJczQs/PDdwo6i9OBQ+tSJV8 K33vrEOPVEDLVI2a9SYZd7InOrTDYrwFMkQ= X-RZG-AUTH: :K2MKY0GkfvuAYI9OvLYEA55J0qvTZZULi9CTHjqnn8/d41Z9VA5z1TMajByBR55L X-RZG-CLASS-ID: mo00 Original-Received: from mail-gy0-f172.google.com ([209.85.160.172]) by post.strato.de (klopstock mo52) (RZmta 25.17) with ESMTPA id B065ebn46F43w5 for <8630@debbugs.gnu.org>; Fri, 6 May 2011 19:07:09 +0200 (MEST) Original-Received: by gyf3 with SMTP id 3so1283751gyf.3 for <8630@debbugs.gnu.org>; Fri, 06 May 2011 10:07:09 -0700 (PDT) Original-Received: by 10.236.185.199 with SMTP id u47mr5048160yhm.267.1304701629102; Fri, 06 May 2011 10:07:09 -0700 (PDT) Original-Received: by 10.147.169.6 with HTTP; Fri, 6 May 2011 10:06:49 -0700 (PDT) In-Reply-To: <83oc3flqbq.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 06 May 2011 13:08:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:46284 Archived-At: 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 wrote: >> From: Daniel Gonzalez >> Date: Fri, 6 May 2011 18:11:02 +0200 >> Cc: 8630@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? >