GNU bug report logs -
#72359
treesit-node-at-point bug on vhdl-ts-mode after update to 0.22.6
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 72359 in the body.
You can then email your comments to 72359 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#72359
; Package
emacs
.
(Tue, 30 Jul 2024 02:36:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Gonzalo Larumbe <gonzalomlarumbe <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Tue, 30 Jul 2024 02:36:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
After updating tree-sitter on Arch Linux from 0.22.1 to 0.22.6 there seems
to be an error with the detection of some comment nodes under
`vhdl-ts-mode`.
In the attached VHDL file, if placing the cursor at the comment of line 10,
running:
`(treesit-node-at (point) 'vhdl)` returns `#<treesit-node block_header in
329-358>`. However, the side by side view shows that the parser correctly
detects a comment (see attached screenshot). This worked well with the
previous tree-sitter version.
Thanks a lot!
Gonzalo
[Message part 2 (text/html, inline)]
[treesit-vhdl-bug.vhdl (text/x-vhdl, attachment)]
[treesit-bug.PNG (image/png, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#72359
; Package
emacs
.
(Tue, 27 Aug 2024 08:25:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 72359 <at> debbugs.gnu.org (full text, mbox):
> On Jul 29, 2024, at 3:17 PM, Gonzalo Larumbe <gonzalomlarumbe <at> gmail.com> wrote:
>
> Hi,
>
> After updating tree-sitter on Arch Linux from 0.22.1 to 0.22.6 there seems to be an error with the detection of some comment nodes under `vhdl-ts-mode`.
>
> In the attached VHDL file, if placing the cursor at the comment of line 10, running:
> `(treesit-node-at (point) 'vhdl)` returns `#<treesit-node block_header in 329-358>`. However, the side by side view shows that the parser correctly detects a comment (see attached screenshot). This worked well with the previous tree-sitter version.
> Thanks a lot!
>
> Gonzalo
>
> <treesit-vhdl-bug.vhdl><treesit-bug.PNG>
Thank you for your report, Gonzalo! And sorry for the delay. I properly looked into this today, and confirmed that this is a tree-sitter bug. I raised an issue here: https://github.com/tree-sitter/tree-sitter/issues/3555
Sadly, there’s not much we can do right now. There was another similar bug in tree-sitter, which I worked around by using another function. But now that “another function” is also broken, oh well :-(
Yuan
Reply sent
to
Eli Zaretskii <eliz <at> gnu.org>
:
You have taken responsibility.
(Thu, 29 Aug 2024 12:09:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Gonzalo Larumbe <gonzalomlarumbe <at> gmail.com>
:
bug acknowledged by developer.
(Thu, 29 Aug 2024 12:09:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 72359-done <at> debbugs.gnu.org (full text, mbox):
> Cc: 72359 <at> debbugs.gnu.org
> From: Yuan Fu <casouri <at> gmail.com>
> Date: Tue, 27 Aug 2024 01:22:42 -0700
>
> Thank you for your report, Gonzalo! And sorry for the delay. I properly looked into this today, and confirmed that this is a tree-sitter bug. I raised an issue here: https://github.com/tree-sitter/tree-sitter/issues/3555
>
> Sadly, there’s not much we can do right now. There was another similar bug in tree-sitter, which I worked around by using another function. But now that “another function” is also broken, oh well :-(
Since this is not an Emacs bug, I'm closing it.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#72359
; Package
emacs
.
(Mon, 02 Sep 2024 18:02:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 72359 <at> debbugs.gnu.org (full text, mbox):
> On Aug 29, 2024, at 5:07 AM, Eli Zaretskii <eliz <at> gnu.org> wrote:
>
>> Cc: 72359 <at> debbugs.gnu.org
>> From: Yuan Fu <casouri <at> gmail.com>
>> Date: Tue, 27 Aug 2024 01:22:42 -0700
>>
>> Thank you for your report, Gonzalo! And sorry for the delay. I properly looked into this today, and confirmed that this is a tree-sitter bug. I raised an issue here: https://github.com/tree-sitter/tree-sitter/issues/3555
>>
>> Sadly, there’s not much we can do right now. There was another similar bug in tree-sitter, which I worked around by using another function. But now that “another function” is also broken, oh well :-(
>
> Since this is not an Emacs bug, I'm closing it.
FYI tree-sitter devs have fixed the bug: https://github.com/tree-sitter/tree-sitter/issues/3555
Yuan
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#72359
; Package
emacs
.
(Fri, 13 Sep 2024 11:53:03 GMT)
Full text and
rfc822 format available.
Message #19 received at 72359 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Thanks a lot! :)
El lun, 2 sept 2024 a las 19:59, Yuan Fu (<casouri <at> gmail.com>) escribió:
>
>
> > On Aug 29, 2024, at 5:07 AM, Eli Zaretskii <eliz <at> gnu.org> wrote:
> >
> >> Cc: 72359 <at> debbugs.gnu.org
> >> From: Yuan Fu <casouri <at> gmail.com>
> >> Date: Tue, 27 Aug 2024 01:22:42 -0700
> >>
> >> Thank you for your report, Gonzalo! And sorry for the delay. I properly
> looked into this today, and confirmed that this is a tree-sitter bug. I
> raised an issue here:
> https://github.com/tree-sitter/tree-sitter/issues/3555
> >>
> >> Sadly, there’s not much we can do right now. There was another similar
> bug in tree-sitter, which I worked around by using another function. But
> now that “another function” is also broken, oh well :-(
> >
> > Since this is not an Emacs bug, I'm closing it.
>
> FYI tree-sitter devs have fixed the bug:
> https://github.com/tree-sitter/tree-sitter/issues/3555
>
> Yuan
[Message part 2 (text/html, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 12 Oct 2024 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 248 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.