|
From: | Andreas Röhler |
Subject: | bug#13973: Subject: 24.3; thingatpt.el, end-of-sexp |
Date: | Thu, 26 Aug 2021 08:21:36 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
On 25.08.21 12:38, Lars Ingebrigtsen wrote:
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.
(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".
[Prev in Thread] | Current Thread | [Next in Thread] |