Subject: bug#76784: 31.0.50; up-list works incorrectly on emacs-30 if forward-sexp-function is set to treesit-forward-sexp

From: Juri Linkov <[email-masked]>
Date: Sat, 08 Mar 2025 20:46:16 +0200

close 76784 31.0.50
thanks

>>> The bug is reproducible for clojure-ts-mode. If "sexp" thing is defined
>>> for
>>> tree-sitter mode, forward-sexp-function is set to treesit-forward-sexp
>>> (https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/treesit.el?h=emacs-30#n3147)
>>
>> Thanks for the bug report.  This can be fixed for Emacs 31 (i.e. current
>> master) by such patch.  Also please note that treesit-transpose-sexps
>> is working again on Emacs 31.
>
> Thank you for the patch Juri! I tried it locally and it works well for
> Emacs 31. I'll suggest to apply it to clojure-ts-mode.

Nice to see this applied to clojure-ts-mode, so now closing this bug report.