GNU bug report logs - #18462
Emacs freeze with python mode and M-q

Previous Next

Package: emacs;

Reported by: Gaetan Kenway <gaetank <at> gmail.com>

Date: Fri, 12 Sep 2014 16:43:02 UTC

Severity: normal

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#18462: closed (Emacs freeze with python mode and M-q)
Date: Tue, 30 Sep 2014 23:02:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 30 Sep 2014 19:01:05 -0400
with message-id <jwvwq8kzpe9.fsf-monnier+emacsbugs <at> gnu.org>
and subject line Re: bug#18462: Emacs freeze with python mode and M-q
has caused the debbugs.gnu.org bug report #18462,
regarding Emacs freeze with python mode and M-q
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
18462: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18462
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Gaetan Kenway <gaetank <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Emacs freeze with python mode and M-q
Date: Fri, 12 Sep 2014 09:37:31 -0400
[Message part 3 (text/plain, inline)]
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
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Leonardo Nobrega <leonobr <at> gmail.com>
Cc: 18462-done <at> debbugs.gnu.org
Subject: Re: bug#18462: Emacs freeze with python mode and M-q
Date: Tue, 30 Sep 2014 19:01:05 -0400
> 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


This bug report was last modified 10 years and 239 days ago.

Previous Next


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