GNU bug report logs -
#62325
Python quotes/apostrophes can cause hang
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Hi, all. First bug report for me. I've searched to see if there are
other reports of my issue, but turned up empty handed.
--- Summary ---
It seems when there are three or more python docstrings (each bordered
by two lines of triple quotes """) and each containing an apostrophe,
then the next time a quote docstring is to be inserted Emacs hangs.
I have included a minimum viable example file that reproduces this
behavior on my machine. Simply replace the angle bracket line
containing the instructions with triple quotes, and Emacs should hang.
(In case file attachments don't work I have included the text of the
file at the end of the email.)
--- Additional information ---
Emacs version: 28.2 (via pacman package manager)
machine: EndeavourOS Linux x86_64 (kernel: 6.2.2-arch1-1)
reply email: gabriel.h.brown <at> gmail.com
--- start of example file ---
def f_0():
# inline comment
< try replacing with triple quotes >
return 4
def f_1():
"""
ghbrown's first comment
"""
return 1
def f_2():
"""
ghbrown's second comment
"""
return 1
def f_3():
"""
ghbrown's third comment
"""
return 1
--- end of example file ---
[Message part 2 (text/html, inline)]
[mve.py (text/x-python, attachment)]
This bug report was last modified 2 years and 50 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.