From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#62416: 30.0.50; Symbols skipped in the navigation in ruby-ts-mode Date: Fri, 24 Mar 2023 20:41:23 +0200 Message-ID: <9cfb677e-2c3b-94f3-e09f-8b231dd9b8f5@yandex.ru> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28914"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 To: =?UTF-8?Q?Bo=C5=A1ko_?= =?UTF-8?Q?Ivani=C5=A1evi=C4=87?= , 62416@debbugs.gnu.org, Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 24 23:04:26 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 1pfpWM-0007HN-EL for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 24 Mar 2023 23:04:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pfpTF-00045S-9t; Fri, 24 Mar 2023 18:01:13 -0400 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 1pfpT9-0003ym-Hy for bug-gnu-emacs@gnu.org; Fri, 24 Mar 2023 18:01:07 -0400 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 1pfpT9-0000eY-80 for bug-gnu-emacs@gnu.org; Fri, 24 Mar 2023 18:01:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pfmMU-0001gg-0N for bug-gnu-emacs@gnu.org; Fri, 24 Mar 2023 14:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 Mar 2023 18:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62416 X-GNU-PR-Package: emacs Original-Received: via spool by 62416-submit@debbugs.gnu.org id=B62416.16796832956453 (code B ref 62416); Fri, 24 Mar 2023 18:42:01 +0000 Original-Received: (at 62416) by debbugs.gnu.org; 24 Mar 2023 18:41:35 +0000 Original-Received: from localhost ([127.0.0.1]:41377 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pfmM2-0001g1-MF for submit@debbugs.gnu.org; Fri, 24 Mar 2023 14:41:34 -0400 Original-Received: from mail-wm1-f47.google.com ([209.85.128.47]:50903) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pfmM0-0001fn-TT for 62416@debbugs.gnu.org; Fri, 24 Mar 2023 14:41:33 -0400 Original-Received: by mail-wm1-f47.google.com with SMTP id n19so1700588wms.0 for <62416@debbugs.gnu.org>; Fri, 24 Mar 2023 11:41:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679683287; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=ETJlfeWBUfunRCnz52aXrig8v6t4A2ukdfAwNrolhFE=; b=nF5x6oGbOxEmVRH5O77KH4BEQpRGrt5JSyu5zsBU44H8fiE45NOSPpO5h8ScUJ1Lwi PDTPzyI9aXGS9Hu0mjzEw1zR1agaeyzrmfhkunRQkyqy41wVRaN2T78emsLCP9C1+dA5 zkl8ssuW0wnAC0nCkc5L+zxvyF0FAYErI3bAs5EM7dzkCSiZZ8Rlc3AXMu8G8dWPesAO YMvDLcD0Kxs59alQ9/Cz/Kw8simqpln0WFfn5nZ9RCg6aKPNycHqMhyvRluQS3KGs56E CQ/P/b4V0ZwKUmDONALrgWCyCyck3Vvn7NBOnMMpX0CUAc6JHETlr5wwm9O1vEL4Q4XW hUfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679683287; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ETJlfeWBUfunRCnz52aXrig8v6t4A2ukdfAwNrolhFE=; b=gd6kOfEGanw5aWuPiqUkinpH8xv1pLBcRRcVrZDxDNZHJ35ifv+DogNUCYDh8R5BRW oTT3K6yKI11h3XvLeFpPb5zN2kOb9tnZIXtb9XmZ+JsQuwlf05IYTjwTZav+BcSFoNi3 9Pe8QirhZfCgoCNPWz2QFspeqJqZiDrqHDUzmkB1/GLs/V8O5WL4DiTHQ/D7PBy3PTR8 bQOucgvstTkpuQAmNs9NTeNTTANKmTaPprjEJi/q5NrrP6EF7sFy416edWCfnasgHxSJ Ezl7vnJk3+QZU3Vx7J5xQUv9rkCbEwwM7e2sQNdThzGcZLPSonD5sD3X30cG/4t4diuS HM0Q== X-Gm-Message-State: AO0yUKVozwZrptMTxXkbfcjvjPrSukyfbtN+OXmszVluzPuHb3tTD7ZM rrd6MK/qSXPTU6qglyV+sSU= X-Google-Smtp-Source: AK7set+u6v64HEwqTUdxy4cCTfO92tQSc3T5pTp+u93eam4ZReqgZZxa/jK7TgXgNIfusp6MFV4U7w== X-Received: by 2002:a05:600c:b54:b0:3ee:36f:3485 with SMTP id k20-20020a05600c0b5400b003ee036f3485mr3306340wmr.8.1679683286959; Fri, 24 Mar 2023 11:41:26 -0700 (PDT) Original-Received: from [192.168.0.2] ([85.132.229.92]) by smtp.googlemail.com with ESMTPSA id m20-20020a05600c3b1400b003dc434b39c7sm12004649wms.0.2023.03.24.11.41.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 24 Mar 2023 11:41:26 -0700 (PDT) Content-Language: en-US In-Reply-To: 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:258522 Archived-At: On 24/03/2023 12:24, Boško Ivanišević wrote: > Navigating word forward/backward skips the Ruby symbol in the ruby-ts-mode. > Adding "simple_symbol" to the treesit-sexp-type-regexp is fixing it. > >   (setq-local treesit-sexp-type-regexp >               (regexp-opt '("class" >                             "module" >                             "method" >                             "argument_list" >                             "array" >                             "hash" >                             "parenthesized_statements" >                             "if" >                             "case" >                             "when" >                             "block" >                             "do_block" >                             "begin" >                             "binary" >                             "simple_symbol" ;; <-- missing >                             "assignment"))) Juri, what do you think? In the context of your previous feedback regarding sexp navigation in ruby-ts-mode.