Subject: Re: bug#13973: Subject: 24.3; thingatpt.el, end-of-sexp

From: Lars Ingebrigtsen <[email-masked]>
Date: Wed, 25 Aug 2021 12:38:55 +0200

Andreas Röhler <[email-masked]> 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?  (It's where point
lands in the buffer included below.)  If so, `forward-sex'
(in Emacs 28) does the correct thing -- it moves to the end of "Some".

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no
# Python

def main():
    """Some hint"""
    if len(sys.argv) == 1:
        usage()