GNU bug report logs - #60659
30.0.50; tree-sitter: identical nodes are not `equal'

Previous Next

Package: emacs;

Reported by: Mickey Petersen <mickey <at> masteringemacs.org>

Date: Sun, 8 Jan 2023 14:56:02 UTC

Severity: normal

Found in version 30.0.50

Done: Yuan Fu <casouri <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Yuan Fu <casouri <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#60659: closed (30.0.50; tree-sitter: identical nodes are not
 `equal')
Date: Fri, 13 Jan 2023 01:09:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 12 Jan 2023 17:08:14 -0800
with message-id <59E68736-3F2B-4668-A93C-51F4BAA0018A <at> gmail.com>
and subject line Re: bug#60659: 30.0.50; tree-sitter: identical nodes are not `equal'
has caused the debbugs.gnu.org bug report #60659,
regarding 30.0.50; tree-sitter: identical nodes are not `equal'
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
60659: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60659
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Mickey Petersen <mickey <at> masteringemacs.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.0.50; tree-sitter: identical nodes are not `equal'
Date: Sun, 08 Jan 2023 14:55:16 +0000
In order to check for node equality, one must use `treesit-node-eq'.

But I see little reason why two identical nodes in in the same tree aren't `equal'?



In GNU Emacs 30.0.50 (build 6, x86_64-pc-linux-gnu, GTK+ Version
 3.24.20, cairo version 1.16.0) of 2023-01-02 built on mickey-work
Repository revision: c209802f7b3721a1b95113290934a23fee88f678
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12013000
System Description: Ubuntu 20.04.3 LTS

Configured using:
 'configure --with-native-compilation --with-json --with-mailutils
 --without-compress-install --with-imagemagick CC=gcc-10'



[Message part 3 (message/rfc822, inline)]
From: Yuan Fu <casouri <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: larsi <at> gnus.org, 60659-done <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca
Subject: Re: bug#60659: 30.0.50; tree-sitter: identical nodes are not `equal'
Date: Thu, 12 Jan 2023 17:08:14 -0800
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Yuan Fu <casouri <at> gmail.com>
>> Date: Tue, 10 Jan 2023 18:57:02 -0800
>> Cc: larsi <at> gnus.org,
>>  monnier <at> iro.umontreal.ca,
>>  60659 <at> debbugs.gnu.org
>> 
>> But still, using a C functions is more correct. How about this?
>
> Yes, this is what I had in mind.  Thanks.

Cool. I applied it.

Yuan


This bug report was last modified 2 years and 188 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.