Apostolis Bessas writes: > In python-ts-mode executing C-M-f (forward-sexp) when at the beginning > of a docstring does not go to the end of the docstring (as happens in > python-mode), but at the end of the file. > > However, if I switch to python-mode and then back to python-ts-mode, > C-M-f works correctly. See the following example: > > - Start emacs -Q > - Execute: > > (add-to-list 'auto-mode-alist '("\\.py\\'" . python-ts-mode)) > > - Create the file test.py with the contents: > > """Some docstring. > > The docstring has multiple lines. > """ > > x = 1 > Can you test this patch? More nodes are needed, but this is a start, I think. Must be applied to the master branch :) Theo