From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#68879: [PATCH] Compatibility issue with a newer version of tree-sitter-javascript Date: Fri, 02 Feb 2024 08:26:50 +0200 Message-ID: <86a5ojz8id.fsf@gnu.org> References: <7625339.EvYhyI6sBW@3-191.divsi.unimi.it> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31997"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 68879@debbugs.gnu.org To: Vincenzo Pupillo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 02 07:28:13 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rVn24-00087X-T2 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 02 Feb 2024 07:28:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rVn1m-0007Zo-AU; Fri, 02 Feb 2024 01:27:54 -0500 Original-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 ) id 1rVn1k-0007ZM-DP for bug-gnu-emacs@gnu.org; Fri, 02 Feb 2024 01:27:52 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rVn1k-0003a8-1u for bug-gnu-emacs@gnu.org; Fri, 02 Feb 2024 01:27:52 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rVn1t-0007zX-Qy for bug-gnu-emacs@gnu.org; Fri, 02 Feb 2024 01:28:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Feb 2024 06:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68879 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 68879-submit@debbugs.gnu.org id=B68879.170685523530652 (code B ref 68879); Fri, 02 Feb 2024 06:28:01 +0000 Original-Received: (at 68879) by debbugs.gnu.org; 2 Feb 2024 06:27:15 +0000 Original-Received: from localhost ([127.0.0.1]:43473 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rVn19-0007yJ-5P for submit@debbugs.gnu.org; Fri, 02 Feb 2024 01:27:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40896) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rVn14-0007y0-EV for 68879@debbugs.gnu.org; Fri, 02 Feb 2024 01:27:14 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rVn0n-0003V8-QJ; Fri, 02 Feb 2024 01:26:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=0TWzW3so/QGJxE5oId5IA4VNHQjlMnb61GwtnhUF8ew=; b=IGsHAfi+/aus gyXYyqao1w4QoSVVpwjEjCfjZ9IlGVqKqzf0L70eRFupM7tR/Z5etwlzwYfXRB93fJRGGa1IkmX8U Jd5SHFZGekUzWdG43omYZm9WqW5e/2BahHBalCHLAgj13D5LZokU94/lZjBUfyMqwfBR9zn/okK2X 0glmfNyD8EWgvwtvC7fkyirDbApCkcpWThFRx15WeP+//ArFq36XObN5mDV0+xwPLSp0/I4XDc2qL /+8wwguSImvAfh6kYHCt314aU1OScvpEBd2wForRdAzpH5Aw+PvuVEDIEwZvVuTyt+Mx2X7Exs5OE CHbBqNy60lBQYeGgpwI28g==; In-Reply-To: <7625339.EvYhyI6sBW@3-191.divsi.unimi.it> (message from Vincenzo Pupillo on Thu, 1 Feb 2024 16:18:38 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:279317 Archived-At: > From: Vincenzo Pupillo > Date: Thu, 1 Feb 2024 16:18:38 +0000 > > starting from version 0.20.2 (released yesterday) of tree-sitter-javascript > the "function" primary expression has been renamed to "function_expression". > > The attached patch (for emacs 29) supports the old and new versions. > I also have a version for emacs 30. Thanks. If the version for Emacs 30 is different, i.e. it is not just a matter of merging the changes you sent with the master branch, please post the Emacs 30 version as well.