GNU bug report logs - #21629
25.0.50; python.el freezes up around docstrings.

Previous Next

Package: emacs;

Reported by: Jacob MacDonald <jaccarmac <at> gmail.com>

Date: Tue, 6 Oct 2015 05:44:02 UTC

Severity: normal

Tags: confirmed, fixed, patch

Merged with 21628, 21646, 21657, 21671, 24839, 24856, 24905, 26041

Found in versions 25.0.50, 25.1, 25.1.50, 26.0.50

Fixed in version 25.2

Done: Daniel Colascione <dancol <at> dancol.org>

Bug is archived. No further changes may be made.

Full log


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

From: npostavs <at> users.sourceforge.net
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 21671 <at> debbugs.gnu.org, immerrr again <immerrr <at> gmail.com>
Subject: Re: bug#21671: [PATCH] fix python.el hanging up during fontification
 #21657
Date: Tue, 28 Feb 2017 20:06:15 -0500
unarchive 24905
forcemerge 24905 21671
quit

Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> immerrr again <immerrr <at> gmail.com> writes:
>
>> @@ -1712,7 +1712,11 @@ expressions when looking at them in either direction."
>>                     (python-nav-beginning-of-block))
>>                    ((memq context '(statement-start block-start))
>>                     (goto-char next-sexp-pos)
>> -                   (python-nav-beginning-of-statement))
>> +                   (unless (bobp)
>> +                     ;; If backward-sexp brought the point to
>> +                     ;; beginning-of-buffer, beginning-of-statement
>> +                     ;; will only bring it back.
>> +                     (python-nav-beginning-of-statement)))
>>                    (t (goto-char next-sexp-pos))))))))))
>
> I'm not a Python mode user, so I can't really review this patch.  I've
> reopened the bug -- could somebody else have a peek at this?

AFAICT, the problem is solved in #24905, so there is no need for this
patch.




This bug report was last modified 8 years and 71 days ago.

Previous Next


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