From: Yuan Fu <casouri@gmail.com>
To: Wilhelm H Kirschbaum <wkirschbaum@gmail.com>
Cc: 60355@debbugs.gnu.org
Subject: bug#60355: 29.0.60; Tree sitter incorrectly handles of PRED for treesit-defun-type-regexp
Date: Wed, 28 Dec 2022 00:34:37 -0800 [thread overview]
Message-ID: <40BD71EA-1281-43DE-8866-0AFFE6A90F94@gmail.com> (raw)
In-Reply-To: <87sfh0ujet.fsf@gmail.com>
> On Dec 27, 2022, at 10:31 PM, Wilhelm H Kirschbaum <wkirschbaum@gmail.com> wrote:
>
>
> Thanks Yuan, just checked and both the fix and your suggestion works.
>
> I see there is a typo in your last change:
>
> @@ -310,7 +310,7 @@ java-ts-mode
> ;; Imenu.
> (setq-local treesit-simple-imenu-settings
> '(("Class" "\\`class_declaration\\'" nil nil)
> - ("Interface "\\`interface_declaration\\'" nil nil)
> + ("Interface" "\\`interface_declaration\\'" nil nil)
> ("Enum" "\\`record_declaration\\'" nil nil)
> ("Method" "\\`method_declaration\\'" nil nil)))
> (treesit-major-mode-setup))
Oops, was in a bit of hurry and forgot to byte-compile. Thanks for the catch!
Yuan
prev parent reply other threads:[~2022-12-28 8:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-27 12:09 bug#60355: 29.0.60; Tree sitter incorrectly handles of PRED for treesit-defun-type-regexp Wilhelm H Kirschbaum
2022-12-28 1:47 ` Yuan Fu
2022-12-28 6:31 ` Wilhelm H Kirschbaum
2022-12-28 8:34 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40BD71EA-1281-43DE-8866-0AFFE6A90F94@gmail.com \
--to=casouri@gmail.com \
--cc=60355@debbugs.gnu.org \
--cc=wkirschbaum@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.