unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Yuan Fu <casouri@gmail.com>
To: Juri Linkov <juri@linkov.net>
Cc: 71244@debbugs.gnu.org
Subject: bug#71244: Limit matches of treesit-thing-settings in js-ts-mode
Date: Wed, 5 Jun 2024 22:20:41 -0700	[thread overview]
Message-ID: <1563F75B-3126-4987-9B67-2A10E960EBDC@gmail.com> (raw)
In-Reply-To: <86y17q1ocg.fsf@mail.linkov.net>



> On May 30, 2024, at 11:34 PM, Juri Linkov <juri@linkov.net> wrote:
> 
> close 71244 30.0.50
> thanks
> 
>> Navigation in js-ts-mode is still quite unusable
>> when "expression" in 'js--treesit-sexp-nodes'
>> matches "expression_statement".  Whereas it should match
>> only "expression" and "parenthesized_expression".
>> 
>> So here is the patch that adds delimiters "\\_<" and "\\_>"
>> around node names by 'js--regexp-opt-symbol' (and adds
>> some useful nodes as well):
> 
> With no objections, this is pushed now.

Thanks Juri!

Yuan




      reply	other threads:[~2024-06-06  5:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-28 16:24 bug#71244: Limit matches of treesit-thing-settings in js-ts-mode Juri Linkov
2024-05-31  6:34 ` Juri Linkov
2024-06-06  5:20   ` Yuan Fu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1563F75B-3126-4987-9B67-2A10E960EBDC@gmail.com \
    --to=casouri@gmail.com \
    --cc=71244@debbugs.gnu.org \
    --cc=juri@linkov.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).