GNU bug report logs -
#62086
29.0.60; ruby-ts-mode regressions
Previous Next
Reported by: Juri Linkov <juri <at> linkov.net>
Date: Thu, 9 Mar 2023 17:28:02 UTC
Severity: normal
Fixed in version 29.0.60
Done: Juri Linkov <juri <at> linkov.net>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 62086 <at> debbugs.gnu.org (full text, mbox):
> From: Juri Linkov <juri <at> linkov.net>
> Date: Thu, 09 Mar 2023 19:24:40 +0200
>
> 'C-M-f' ('forward-sexp') commands currently are unusable in master
> because they skip too much. So I relied on word motion commands like
> 'M-f' ('forward-word') to move in ruby-ts-mode. But unfortunately
> some recent change broke even word motion in emacs-29, so no motion commands
> can be used in ruby-ts-mode, only motion by characters can be used with
> 'C-f' ('forward-char'). Here is a recipe for recent regression in emacs-29:
>
> 0. emacs -Q
> 1. C-x C-f test/lisp/progmodes/ruby-mode-resources/ruby-parenless-call-arguments-indent.rb RET
> 2. M-x ruby-ts-mode RET
> 3. move point to after the first letter 'c'
> 4. type 'M-f' ('forward-word')
>
> It skips two words in symbols.
I guess this is because of the syntax-table properties that
ruby-ts-mode puts on the buffer text?
> I don't know if the second bug is related to this, but while
> in the same file, also type 'C-M-l' ('reposition-window').
> It raises the error:
>
> Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
> treesit-end-of-defun()
> end-of-defun(-1)
> reposition-window(nil nil)
> reposition-window(nil 89)
> funcall-interactively(reposition-window nil 89)
> command-execute(reposition-window)
>
> This regression is also recent.
I seem to unable to reproduce this. Maybe it happens only in some
particular place in the file?
This bug report was last modified 2 years and 95 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.