From: Juri Linkov <juri@linkov.net>
To: Andreas Kurth <emacs@akurth.de>
Cc: germanp82@hotmail.com, 75198@debbugs.gnu.org,
Yuan Fu <casouri@gmail.com>
Subject: bug#75198: 31.0.50; [treesitter] peculiar error
Date: Mon, 30 Dec 2024 19:54:55 +0200 [thread overview]
Message-ID: <87h66l6opc.fsf@mail.linkov.net> (raw)
In-Reply-To: <87y0zxmgeu.fsf@akurth.de> (Andreas Kurth's message of "Mon, 30 Dec 2024 14:47:21 +0100")
close 75198 31.0.50
thanks
>> M-x bash-ts-mode
>> Move cursor
>>
>> peculiar error: ("Cannot find the definition of the predicate in
>> `treesit-thing-settings'" sexp-list)
>>
>> Emacs becomes pretty much unusable after that.
>
> I rather suspect 1addae07be1982a6cafc0e0b3955b59bd1fb481c "Treesit
> support for show-paren-mode". At least by commenting out line 3592
>
> (setq-local show-paren-data-function 'treesit-show-paren-data)
>
> in treesit.el I can work around the problem.
Sorry, this is fixed now.
The problem is that 'treesit-parent-until' raises an error by default.
So needed to copy its implementation where treesit-node-match-p
sets the argument IGNORE-MISSING to t.
Or maybe better to add new arg IGNORE-MISSING to treesit-parent-until.
next prev parent reply other threads:[~2024-12-30 17:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-30 12:27 bug#75198: 31.0.50; [treesitter] peculiar error German Pacenza
2024-12-30 13:47 ` Andreas Kurth
2024-12-30 17:54 ` Juri Linkov [this message]
2025-01-04 8:26 ` Yuan Fu
2025-01-04 17:43 ` Juri Linkov
2025-01-04 19:22 ` Yuan Fu
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=87h66l6opc.fsf@mail.linkov.net \
--to=juri@linkov.net \
--cc=75198@debbugs.gnu.org \
--cc=casouri@gmail.com \
--cc=emacs@akurth.de \
--cc=germanp82@hotmail.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 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).