bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#21671: [PATCH] fix python.el hanging up during fontification #21657


From: npostavs
Subject: bug#21671: [PATCH] fix python.el hanging up during fontification #21657
Date: Tue, 28 Feb 2017 20:06:15 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

unarchive 24905
forcemerge 24905 21671
quit

Lars Ingebrigtsen <larsi@gnus.org> writes:

> immerrr again <immerrr@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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]