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#65113: Emacs-29 and master csharp-mode with broken treesit Date: Sun, 06 Aug 2023 18:36:47 +0300 Message-ID: <83fs4wp4hc.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20709"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65113@debbugs.gnu.org To: J M , Theodor Thornhill , Yuan Fu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 06 17:37:17 2023 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 1qSfoj-0005De-7i for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Aug 2023 17:37:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qSfoV-0000eh-EG; Sun, 06 Aug 2023 11:37:03 -0400 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 1qSfoU-0000eY-Lw for bug-gnu-emacs@gnu.org; Sun, 06 Aug 2023 11:37:02 -0400 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 1qSfoU-0007TD-Dn for bug-gnu-emacs@gnu.org; Sun, 06 Aug 2023 11:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qSfoU-0005Pi-A5 for bug-gnu-emacs@gnu.org; Sun, 06 Aug 2023 11:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Aug 2023 15:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65113 X-GNU-PR-Package: emacs Original-Received: via spool by 65113-submit@debbugs.gnu.org id=B65113.169133620220777 (code B ref 65113); Sun, 06 Aug 2023 15:37:02 +0000 Original-Received: (at 65113) by debbugs.gnu.org; 6 Aug 2023 15:36:42 +0000 Original-Received: from localhost ([127.0.0.1]:59929 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSfo9-0005P3-Ll for submit@debbugs.gnu.org; Sun, 06 Aug 2023 11:36:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40178) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSfo4-0005Ol-Jz for 65113@debbugs.gnu.org; Sun, 06 Aug 2023 11:36:40 -0400 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 1qSfny-0007P6-AG; Sun, 06 Aug 2023 11:36:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=515mC8QuALIKy02G7zSC7m+y1ZLF5tyYdsxCkCp7A/E=; b=db340pb8vocsmgitYhL4 5HeTS1UZHgt9TCl8j5OkIXxr2hmlYcM3LAdMP8k9x73g8L+Wyegiv0ChP8nYh6nNSFTLbSjh1w6AH Dy1GPHbjuN+oLd2ollFvf/C1DjnfnSMrkT9MpnZI0qT/osJ1Yl0ySMn0dlzSwcVmGohpxUfgqQ7sI EffjTPbSGt/CA1AmSX8tbFgijeIjXTxOopfHygAL3TXmwEZN/7wn6N4eORJdIZDRVVMxHlAOANcuZ x73bso7buJYQKoT3WRTC1ZyAr8OC33zpI43NvmEPcAJ/CN+f+N1ALKXJaq49ZF0R7KXK6S69RfJTE McOjD4RkerOYlQ==; In-Reply-To: (message from J M on Sun, 6 Aug 2023 16:03:45 +0100) 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:266860 Archived-At: > From: J M > Date: Sun, 6 Aug 2023 16:03:45 +0100 > > Treesit is broken for csharp-mode in the latest version in master and emacs-29 and therefore does not provide syntax highlighting.  > > The latest grammar repository (https://github.com/tree-sitter/tree-sitter-c-sharp) has removed the keyword void_keyword. > > Please see attached the patch to resolve the issue. Thanks, but your patch will not work with the older version of the grammar library, right? Is it possible to make a patch that will work with both? Wed cannot rely on users having the latest grammar versions, so a backward-compatible change is much more preferable.