GNU bug report logs - #71863
31.0.50; Wrong argument type for treesit-query-range in treesit-update-ranges

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Noah Peart <noah.v.peart@HIDDEN>; dated Sun, 30 Jun 2024 20:13:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 30 Jun 2024 20:37:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 30 16:37:20 2024
Received: from localhost ([127.0.0.1]:59257 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sO1IW-0004lI-3o
	for submit <at> debbugs.gnu.org; Sun, 30 Jun 2024 16:37:20 -0400
Received: from lists.gnu.org ([209.51.188.17]:58416)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <noah.v.peart@HIDDEN>) id 1sO1IU-0004lB-MB
 for submit <at> debbugs.gnu.org; Sun, 30 Jun 2024 16:37:19 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <noah.v.peart@HIDDEN>)
 id 1sO1IU-0006Oa-8r
 for bug-gnu-emacs@HIDDEN; Sun, 30 Jun 2024 16:37:18 -0400
Received: from mail-oa1-x31.google.com ([2001:4860:4864:20::31])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <noah.v.peart@HIDDEN>)
 id 1sO1IS-00018y-Tc
 for bug-gnu-emacs@HIDDEN; Sun, 30 Jun 2024 16:37:18 -0400
Received: by mail-oa1-x31.google.com with SMTP id
 586e51a60fabf-25cba5eea69so1121062fac.2
 for <bug-gnu-emacs@HIDDEN>; Sun, 30 Jun 2024 13:37:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1719779835; x=1720384635; darn=gnu.org;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=KKDWHy2YaDSFFS0jN2LU3BiDtW2BAJtcKkQxhrCw4Z4=;
 b=i0MIG8OV5kwZH7U8NpaEjuYzQnxwx9aljwPzMv4gtEechen0UXq9HEvz4BCEVYG+sb
 IU0Gdb6sRFoAUGWwnHn8wYlkwACZwcBJ+ga08k1DhV660Zubh8b3ulQ37mAI+v+wWlvv
 lriOxFpkfxPSaO7qneJFL1cZdHhVjZhbpJoSGOo+zO/SgMwLvPwayN9S17m8mqe8lYJI
 i4NVs95XHQEZJ87Fz//zhsij9oiu8pz/3n0q8yYJtPjCMyTghtX28HNz5QBAo3+vGhIt
 9n2cX3+k42DW6CjiGY+ovLkZEZsUSE4QzysLPNc4PReO5/nwNZoLSJ8uBMrW88Q7MWHp
 2aGQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1719779835; x=1720384635;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=KKDWHy2YaDSFFS0jN2LU3BiDtW2BAJtcKkQxhrCw4Z4=;
 b=VanFwrKhnSIEo5Mw79Qn843IEC1iKAHEzoiRRLsgOO3DasOdrUTKIVrTCSfLm4v8gY
 fiMRSGikzplR2WHRdsXoaGLMcapqXnGkq7Y6vEYFnpLtzGrbQW1nyY42+EZMh6QijAl8
 q0YYozKNIGaQKS0KSq7x6zTJM6p+M2BF+ytBUxteAK5zGTIPBkKgekOeKBXQPGa5UAbE
 0xEHf57/V/V8v+KE/txcmtawIlwTCnEcPgrTUrYAF1/+FCD24QVO+Q9wYhjkYAkEY+/e
 L8pl1KPGJ6FuaJfw/wNZo5wRu3McCkW3lE/eunlIUptJkgKMEHjURqskq75Yq/iozg6J
 vSSQ==
X-Gm-Message-State: AOJu0YzX+vV0F8wX/71EjLX8nkZyDONULnzW1rbrlfLiO/gPJGXxoubP
 RbRdnGHxPI0mS5to6+KjOa4Kw9maTVGORkAhiwqrhxJsOMsfcZ4vhOcQa/uhEWe3JJmi+gTsDIS
 +z0YSnWew3e/w4JUjmpHkIauHnNie1z/Tcz0yPJlK
X-Google-Smtp-Source: AGHT+IFNH9lfT0gq0YJDuVBOAVFb31FLzXcgeFtbpvGFcHXXpKanBG5Es195PiZWgn+YJ4Nq2cPneEmhi3nj+XiNUIY=
X-Received: by 2002:a05:6870:d24e:b0:254:b8f5:c918 with SMTP id
 586e51a60fabf-25db35db24fmr3465445fac.47.1719779835547; Sun, 30 Jun 2024
 13:37:15 -0700 (PDT)
MIME-Version: 1.0
From: Noah Peart <noah.v.peart@HIDDEN>
Date: Sun, 30 Jun 2024 16:37:05 -0400
Message-ID: <CAPVBTScwvxCYOhTu3ssrtQt2CdDVFTgnzPmCYD7gFGzGG3b6_Q@HIDDEN>
Subject: bug#71863: 31.0.50;
 Wrong argument type for treesit-query-range in treesit-update-ranges
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/alternative; boundary="000000000000309afc061c217251"
Received-SPF: pass client-ip=2001:4860:4864:20::31;
 envelope-from=noah.v.peart@HIDDEN; helo=mail-oa1-x31.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

--000000000000309afc061c217251
Content-Type: text/plain; charset="UTF-8"

This is related to the new node check from commit 8819e5a45d5, not
the functions I mentioned before!

--000000000000309afc061c217251
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail-gs" style=3D"margin:0px;min-width:0px;=
padding:0px 0px 20px;width:initial;font-family:&quot;Google Sans&quot;,Robo=
to,RobotoDraft,Helvetica,Arial,sans-serif;font-size:medium"><div class=3D"g=
mail-"><div id=3D"gmail-:p7" class=3D"gmail-ii gmail-gt" style=3D"direction=
:ltr;margin:8px 0px 0px;padding:0px;font-size:0.875rem;overflow-x:hidden"><=
div id=3D"gmail-:p8" class=3D"gmail-a3s gmail-aiL" style=3D"direction:initi=
al;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-=
alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stret=
ch:normal;font-size:small;line-height:1.5;font-family:Arial,Helvetica,sans-=
serif;overflow:auto hidden"><div dir=3D"ltr">This is related to the new nod=
e check from commit=C2=A08819e5a45d5, not<div>the functions I mentioned bef=
ore!</div></div></div></div></div></div></div>

--000000000000309afc061c217251--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#71863; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 30 Jun 2024 20:12:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 30 16:12:25 2024
Received: from localhost ([127.0.0.1]:59199 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sO0uP-00046Q-3E
	for submit <at> debbugs.gnu.org; Sun, 30 Jun 2024 16:12:25 -0400
Received: from lists.gnu.org ([209.51.188.17]:45750)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <noah.v.peart@HIDDEN>) id 1sO0uM-00046I-VE
 for submit <at> debbugs.gnu.org; Sun, 30 Jun 2024 16:12:23 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <noah.v.peart@HIDDEN>)
 id 1sO0uM-0001ep-GD
 for bug-gnu-emacs@HIDDEN; Sun, 30 Jun 2024 16:12:22 -0400
Received: from mail-oi1-x234.google.com ([2607:f8b0:4864:20::234])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <noah.v.peart@HIDDEN>)
 id 1sO0uI-0005bi-TU
 for bug-gnu-emacs@HIDDEN; Sun, 30 Jun 2024 16:12:21 -0400
Received: by mail-oi1-x234.google.com with SMTP id
 5614622812f47-3d5666a4860so1504899b6e.2
 for <bug-gnu-emacs@HIDDEN>; Sun, 30 Jun 2024 13:12:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1719778337; x=1720383137; darn=gnu.org;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=kAeHtcp7Mg7ZZnT9HYaBlNvZrTVNcNmYU2VBR9Voqr0=;
 b=ljjr7uOSWzkFjKWjR/TfOC0z4JWjSh1JKfZgSD7JzDSEiH1O1E3NYPMLQuakWA2XMk
 AVOajd72e1bFFl0GDpK0nMYwvKyt52FWs1FlGIv/ipS+dDeTfAqKhL2YI4S+btS2xmzl
 ybbTr83y64Diq0HxfOhFzayAuDhcN9ZPyN/Up+sIEsu/2xO00KhBeypZ9lw0ku98Hg6P
 zNklTEr/oOkW2wRfUGzbAcjd39P60JypJSKme86ufPkJNgC6JA4bxIiipaICOD01Htdd
 T5if3FblgKHhi5c8+vD0WurNEDbAykxcsoHGkw1jaDcRaUIkn+Dsr9H09Q3iTL3b4thP
 PsSw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1719778337; x=1720383137;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=kAeHtcp7Mg7ZZnT9HYaBlNvZrTVNcNmYU2VBR9Voqr0=;
 b=ZZH9RwCEgPm/cv7aOHKzftGlvGBe9G2X9wTQkyt0/4aquCI92eWepSUnKXGy4XIOMj
 l8qcmxy/h8+N20YuuuC+jScvkFYkPE65xZuFE4rKq5UirtolnjW9Tt5YU9OaGgV/Pvm4
 QYKbeNvTqNa/80J+zw9ijjhqBCIaLaoVmwkiH3zTwG0XxrOh7mzJwfAT69Ub/WrMEeU7
 St5zI07P7Jztl0dCOz4cSOifKuhAbKGE3/7sMnOhfZ3VlgI5X21m9h5WN8iKV9qnOF0V
 2D1szAyIjn6HRO96PPLfPBiyWUesZIuib8vpX0xw4mxFo0OPRXWv4GeWhpPkpWm8EZNi
 6oLQ==
X-Gm-Message-State: AOJu0Yw3IXvydVoimeb9d/gX8lQPUSuiX2skGfHcKCwLJfpOsbHKZGG3
 NibOUasGX3YlciA3DACNHDmbha8Wamf0k0iV9JTb4XcasRtbSpXNIWA8AVhX59bqwo6z6bDdEA5
 iL3KTIACZzEamGPJvL6ycDGJyBGIJDPdu6SWI/Ybp
X-Google-Smtp-Source: AGHT+IHFXzTx/fnvuSbOPo/3er9vnniLPdN64otGRZSeHlo139lQTl+gVFq3sgYwNnCCVWDb8qlX5/2cgm7efx7tEUc=
X-Received: by 2002:a05:6870:d28e:b0:24f:c31a:5c29 with SMTP id
 586e51a60fabf-25db3640694mr3574684fac.43.1719778336785; Sun, 30 Jun 2024
 13:12:16 -0700 (PDT)
MIME-Version: 1.0
From: Noah Peart <noah.v.peart@HIDDEN>
Date: Sun, 30 Jun 2024 16:12:06 -0400
Message-ID: <CAPVBTSfmAZuhu4mLBUTsOCZiVke0Ewcd4wVwE7YP4ttABfOEew@HIDDEN>
Subject: 31.0.50;
 Wrong argument type for treesit-query-range in treesit-update-ranges
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/alternative; boundary="000000000000db49db061c211839"
Received-SPF: pass client-ip=2607:f8b0:4864:20::234;
 envelope-from=noah.v.peart@HIDDEN; helo=mail-oi1-x234.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

--000000000000db49db061c211839
Content-Type: text/plain; charset="UTF-8"

I just noticed this after building latest Emacs. In
`treesit-update-ranges`, during redisplay, the first argument to
`treesit-query-range` is a tree-sitter language symbol, not a node.

At treesit.el:760

    (let* ((host-lang (treesit-query-language query))
           (parser (treesit-parser-create language))
           (old-ranges (treesit-parser-included-ranges parser))
>>> host-lang isnt a node
           (new-ranges (treesit-query-range
                        host-lang query beg end offset))


This causes a an error in modes that have set `treesit-range-settings`
eg., `js-ts-mode`:

> Error muted by safe_call: (treesit--font-lock-mark-ranges-to-fontify
> ((1 . 940)) #<treesit-parser for javascript>) signaled
> (wrong-type-argument treesit-node-p javascript) Error during
> redisplay: (jit-lock-function 1) signaled (wrong-type-argument
> treesit-node-p javascript)


And in `syntax-propertize-function`, for example in `ruby-ts-mode`,

> QuitError muted by safe_call: (internal--syntax-propertize 46)
> signaled (wrong-type-argument treesit-node-p ruby)



In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
 3.24.33, cairo version 1.16.0) of 2024-06-30 built on nverno-XPS-8940
Repository revision: 7c8d4e96ba6db19bdca20a87bafed024a84eb517
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101004
System Description: Ubuntu 22.04.4 LTS

Configured using:
 'configure --prefix=/usr/local --with-modules --with-tree-sitter
 --with-threads --with-x-toolkit=gtk3 --with-xwidgets --with-gnutls
 --with-json --with-mailutils --with-jpeg --with-png --with-rsvg
 --with-tiff --with-xml2 --with-xpm --with-imagemagick CC=gcc-12
 CXX=gcc-12'

Configured features:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ
IMAGEMAGICK JPEG LCMS2 LIBSELINUX LIBXML2 MODULES NATIVE_COMP NOTIFY
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM XWIDGETS
GTK3 ZLIB

Important settings:
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: JavaScript

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  minibuffer-regexp-mode: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message mailcap yank-media puny dired
dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068
epg-config gnus-util text-property-search time-date mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils cl-seq
typescript-ts-mode js c-ts-common json subr-x map byte-opt gv bytecomp
byte-compile imenu cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles
cc-align cc-engine cc-vars cc-defs treesit cl-loaddefs cl-lib rmc
iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook
vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win
term/common-win x-dnd touch-screen tool-bar dnd fontset image regexp-opt
fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode
register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select
scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors
frame minibuffer nadvice seq simple cl-generic indonesian philippine
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite emoji-zwj charscript
charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure
cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp
files window text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget keymap hashtable-print-readable backquote
threads xwidget-internal dbusbind inotify lcms2 dynamic-setting
system-font-setting font-render-setting cairo gtk x-toolkit xinput2 x
multi-tty move-toolbar make-network-process native-compile emacs)

Memory information:
((conses 16 104084 13132) (symbols 48 8580 0) (strings 32 24764 2578)
 (string-bytes 1 884578) (vectors 16 14855)
 (vector-slots 8 188214 9981) (floats 8 28 203) (intervals 56 852 0)
 (buffers 992 12))

--000000000000db49db061c211839
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br>I just noticed this after building latest Emacs. In<br=
>`treesit-update-ranges`, during redisplay, the first argument to<br>`trees=
it-query-range` is a tree-sitter language symbol, not a node.<br><br>At tre=
esit.el:760<br><br>=C2=A0 =C2=A0 (let* ((host-lang (treesit-query-language =
query))<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(parser (treesit-parser=
-create language))<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(old-ranges =
(treesit-parser-included-ranges parser))<br>&gt;&gt;&gt; host-lang isnt a n=
ode<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(new-ranges (treesit-query-=
range<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 host-lang query beg end offset))<br><br><br>This causes a=
 an error in modes that have set `treesit-range-settings`<br>eg., `js-ts-mo=
de`:<div><br>&gt; Error muted by safe_call: (treesit--font-lock-mark-ranges=
-to-fontify<br>&gt; ((1 . 940)) #&lt;treesit-parser for javascript&gt;) sig=
naled<br>&gt; (wrong-type-argument treesit-node-p javascript) Error during<=
br>&gt; redisplay: (jit-lock-function 1) signaled (wrong-type-argument<br>&=
gt; treesit-node-p javascript)<br><br><br>And in `syntax-propertize-functio=
n`, for example in `ruby-ts-mode`,<br><br>&gt; QuitError muted by safe_call=
: (internal--syntax-propertize 46)<br>&gt; signaled (wrong-type-argument tr=
eesit-node-p ruby) <br><br><br><br>In GNU Emacs 31.0.50 (build 1, x86_64-pc=
-linux-gnu, GTK+ Version<br>=C2=A03.24.33, cairo version 1.16.0) of 2024-06=
-30 built on nverno-XPS-8940<br>Repository revision: 7c8d4e96ba6db19bdca20a=
87bafed024a84eb517<br>Repository branch: master<br>Windowing system distrib=
utor &#39;The X.Org Foundation&#39;, version 11.0.12101004<br>System Descri=
ption: Ubuntu 22.04.4 LTS<br><br>Configured using:<br>=C2=A0&#39;configure =
--prefix=3D/usr/local --with-modules --with-tree-sitter<br>=C2=A0--with-thr=
eads --with-x-toolkit=3Dgtk3 --with-xwidgets --with-gnutls<br>=C2=A0--with-=
json --with-mailutils --with-jpeg --with-png --with-rsvg<br>=C2=A0--with-ti=
ff --with-xml2 --with-xpm --with-imagemagick CC=3Dgcc-12<br>=C2=A0CXX=3Dgcc=
-12&#39;<br><br>Configured features:<br>CAIRO DBUS FREETYPE GIF GLIB GMP GN=
UTLS GPM GSETTINGS HARFBUZZ<br>IMAGEMAGICK JPEG LCMS2 LIBSELINUX LIBXML2 MO=
DULES NATIVE_COMP NOTIFY<br>INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 =
THREADS TIFF<br>TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 X=
PM XWIDGETS<br>GTK3 ZLIB<br><br>Important settings:<br>=C2=A0 value of $LAN=
G: en_US.UTF-8<br>=C2=A0 value of $XMODIFIERS: @im=3Dibus<br>=C2=A0 locale-=
coding-system: utf-8-unix<br><br>Major mode: JavaScript<br><br>Minor modes =
in effect:<br>=C2=A0 tooltip-mode: t<br>=C2=A0 global-eldoc-mode: t<br>=C2=
=A0 show-paren-mode: t<br>=C2=A0 electric-indent-mode: t<br>=C2=A0 mouse-wh=
eel-mode: t<br>=C2=A0 tool-bar-mode: t<br>=C2=A0 menu-bar-mode: t<br>=C2=A0=
 file-name-shadow-mode: t<br>=C2=A0 global-font-lock-mode: t<br>=C2=A0 font=
-lock-mode: t<br>=C2=A0 blink-cursor-mode: t<br>=C2=A0 minibuffer-regexp-mo=
de: t<br>=C2=A0 line-number-mode: t<br>=C2=A0 indent-tabs-mode: t<br>=C2=A0=
 transient-mark-mode: t<br>=C2=A0 auto-composition-mode: t<br>=C2=A0 auto-e=
ncryption-mode: t<br>=C2=A0 auto-compression-mode: t<br><br>Load-path shado=
ws:<br>None found.<br><br>Features:<br>(shadow sort mail-extr emacsbug mess=
age mailcap yank-media puny dired<br>dired-loaddefs rfc822 mml mml-sec pass=
word-cache epa derived epg rfc6068<br>epg-config gnus-util text-property-se=
arch time-date mm-decode mm-bodies<br>mm-encode mail-parse rfc2231 mailabbr=
ev gmm-utils mailheader sendmail<br>rfc2047 rfc2045 ietf-drums mm-util mail=
-prsvr mail-utils cl-seq<br>typescript-ts-mode js c-ts-common json subr-x m=
ap byte-opt gv bytecomp<br>byte-compile imenu cc-mode cc-fonts cc-guess cc-=
menus cc-cmds cc-styles<br>cc-align cc-engine cc-vars cc-defs treesit cl-lo=
addefs cl-lib rmc<br>iso-transl tooltip cconv eldoc paren electric uniquify=
 ediff-hook<br>vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win<=
br>term/common-win x-dnd touch-screen tool-bar dnd fontset image regexp-opt=
<br>fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode<=
br>register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select=
<br>scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors<br=
>frame minibuffer nadvice seq simple cl-generic indonesian philippine<br>ch=
am georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao<br>ko=
rean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech<br>europe=
an ethiopic indian cyrillic chinese composite emoji-zwj charscript<br>charp=
rop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure<br>cl-pr=
eloaded button loaddefs theme-loaddefs faces cus-face macroexp<br>files win=
dow text-properties overlay sha1 md5 base64 format env<br>code-pages mule c=
ustom widget keymap hashtable-print-readable backquote<br>threads xwidget-i=
nternal dbusbind inotify lcms2 dynamic-setting<br>system-font-setting font-=
render-setting cairo gtk x-toolkit xinput2 x<br>multi-tty move-toolbar make=
-network-process native-compile emacs)<br><br>Memory information:<br>((cons=
es 16 104084 13132) (symbols 48 8580 0) (strings 32 24764 2578)<br>=C2=A0(s=
tring-bytes 1 884578) (vectors 16 14855)<br>=C2=A0(vector-slots 8 188214 99=
81) (floats 8 28 203) (intervals 56 852 0)<br>=C2=A0(buffers 992 12))<br></=
div></div>

--000000000000db49db061c211839--




Acknowledgement sent to Noah Peart <noah.v.peart@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#71863; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 30 Jun 2024 20:45:02 UTC

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