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

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

bug#56271: lisp/progmodes/python.el; unmatched quotes cause infinite loo


From: Tom Gillespie
Subject: bug#56271: lisp/progmodes/python.el; unmatched quotes cause infinite loop freezing emacs
Date: Tue, 28 Jun 2022 19:45:58 -0700

I was able to hunt down the issue.

The problem is in python-nav-end-of-block where there is an implicit
assumption that python-nav-end-of-statement always makes forward
progress, which is violated when the buffer contains e.g. a single
quote.

I have attached a patch the resolves this issue but there may be other
lurking issues due to the removal of cl-assert because there are now
all sorts of code paths that will run that never ran before because
they would hit that assertion and bail out, usually all the way back
to the top.

Attachment: 0001-lisp-progmodes-python.el-python-nav-end-of-block-pre.patch
Description: Text Data


reply via email to

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