Subject: bug#18462: closed (Re: bug#18462: Emacs freeze with python mode and M-q)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 30 Sep 2014 23:02:05 +0000

Your bug report

#18462: Emacs freeze with python mode and M-q

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
18462: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18462
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#18462: Emacs freeze with python mode and M-q
From: Stefan Monnier <[email-masked]>
To: Leonardo Nobrega <[email-masked]>
Cc: [email-masked]
Date: Tue, 30 Sep 2014 19:01:05 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

> The second loop in python-fill-paren moves the point until the syntax
> context changes. If it doesn't find a close-paren before the end of
> the buffer, it loops forever.

Thanks, looks good, installed (using eobp).

        Stefan

Subject: Emacs freeze with python mode and M-q
From: Gaetan Kenway <[email-masked]>
To: [email-masked]
Date: Fri, 12 Sep 2014 09:37:31 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

I ran across a odd bug the other day. Essentially, when M-q is run with an
open bracket in python mode, emacs will freeze.
To replicate the error:

$ emacs test.py

type:
def test(

then hit M-q

The version of emacs I'm using is:

GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7)
 of 2014-03-07 on lamiak, modified by Debian

Its not a huge deal, it just struck me as odd since it generally really
difficult to get emacs to crash.

Thanks,

Gaetan