GNU bug report logs -
#13973
thingatpt.el and end-of-sexp in python-mode
Previous Next
Full log
Message #31 received at 13973 <at> debbugs.gnu.org (full text, mbox):
Andreas Röhler <andreas.roehler <at> easy-emacs.de> writes:
>>> Maybe put the Python code below at the top of some buffer and run the
>>> test delivered below:
>>>
>>> # Python
>>>
>>> def main():
>>> """Some hint"""
>>> if len(sys.argv) == 1:
>>> usage()
>>>
>>> ;; Elisp
>>> (defun forward-sexp-text ()
>>> (interactive)
>>> (goto-char 30 )
>>> (forward-sexp))
>> By that goto-char, do you mean the "S" character?
>
> No, sorry, the 5th double-quote of the triple-quoted-string.
That gives me
forward-sexp: Scan error: "Unbalanced parentheses", 40, 86
which I think is the right thing?
This bug report started with thingatpt. What is the real thingatpt use
case that doesn't work in triple-quoted strings?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 3 years and 40 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.