From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#62086: 29.0.60; ruby-ts-mode regressions Date: Thu, 09 Mar 2023 19:24:40 +0200 Organization: LINKOV.NET Message-ID: <86y1o5op2v.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13926"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) To: 62086@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 09 18:28:37 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1paK4C-0003Ri-Va for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Mar 2023 18:28:36 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1paK3v-0005gH-Vv; Thu, 09 Mar 2023 12:28:20 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1paK3i-0005Oc-0U for bug-gnu-emacs@gnu.org; Thu, 09 Mar 2023 12:28:07 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1paK3e-0006OW-Nr for bug-gnu-emacs@gnu.org; Thu, 09 Mar 2023 12:28:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1paK3e-0008Ku-K3 for bug-gnu-emacs@gnu.org; Thu, 09 Mar 2023 12:28:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Mar 2023 17:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62086 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.167838285931990 (code B ref -1); Thu, 09 Mar 2023 17:28:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Mar 2023 17:27:39 +0000 Original-Received: from localhost ([127.0.0.1]:53031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paK3G-0008Ju-Ne for submit@debbugs.gnu.org; Thu, 09 Mar 2023 12:27:38 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:44512) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paK3F-0008Jk-FR for submit@debbugs.gnu.org; Thu, 09 Mar 2023 12:27:37 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1paK3F-0004ec-8a for bug-gnu-emacs@gnu.org; Thu, 09 Mar 2023 12:27:37 -0500 Original-Received: from relay11.mail.gandi.net ([217.70.178.231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1paK3D-0006Ly-OJ for bug-gnu-emacs@gnu.org; Thu, 09 Mar 2023 12:27:37 -0500 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 83348100006 for ; Thu, 9 Mar 2023 17:27:33 +0000 (UTC) Received-SPF: pass client-ip=217.70.178.231; envelope-from=juri@linkov.net; helo=relay11.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:257634 Archived-At: '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 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.