[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13973: Subject: 24.3; thingatpt.el, end-of-sexp
From: |
Lars Ingebrigtsen |
Subject: |
bug#13973: Subject: 24.3; thingatpt.el, end-of-sexp |
Date: |
Thu, 26 Aug 2021 16:05:32 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Andreas Röhler <andreas.roehler@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
- bug#13973: Subject: 24.3; thingatpt.el, end-of-sexp, Lars Ingebrigtsen, 2021/08/22
- bug#13973: Subject: 24.3; thingatpt.el, end-of-sexp, Andreas Röhler, 2021/08/23
- bug#13973: Subject: 24.3; thingatpt.el, end-of-sexp, Lars Ingebrigtsen, 2021/08/25
- bug#13973: Subject: 24.3; thingatpt.el, end-of-sexp, Andreas Röhler, 2021/08/26
- bug#13973: Subject: 24.3; thingatpt.el, end-of-sexp,
Lars Ingebrigtsen <=
- bug#13973: Subject: 24.3; thingatpt.el, end-of-sexp, Andreas Röhler, 2021/08/27
- bug#13973: Subject: 24.3; thingatpt.el, end-of-sexp, Lars Ingebrigtsen, 2021/08/28