GNU bug report logs - #65113
Emacs-29 and master csharp-mode with broken treesit

Previous Next

Package: emacs;

Reported by: J M <jean <at> tbm.email>

Date: Sun, 6 Aug 2023 15:05:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

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: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#65113: closed (Emacs-29 and master csharp-mode with broken
 treesit)
Date: Sat, 12 Aug 2023 07:27:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 12 Aug 2023 10:27:14 +0300
with message-id <83sf8oen59.fsf <at> gnu.org>
and subject line Re: bug#65113: Emacs-29 and master csharp-mode with broken treesit
has caused the debbugs.gnu.org bug report #65113,
regarding Emacs-29 and master csharp-mode with broken treesit
to be marked as done.

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


-- 
65113: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=65113
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: J M <jean <at> tbm.email>
To: bug-gnu-emacs <at> gnu.org
Subject: Emacs-29 and master csharp-mode with broken treesit
Date: Sun, 6 Aug 2023 16:03:45 +0100
[Message part 3 (text/plain, inline)]
Hi all

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
Jean M
[Message part 4 (text/html, inline)]
[treesit_void_keyword_removed_from_grammar.patch (application/octet-stream, attachment)]
[Message part 6 (text/html, inline)]
[Message part 7 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: J M <jean <at> tbm.email>
Cc: casouri <at> gmail.com, theo <at> thornhill.no, 65113-done <at> debbugs.gnu.org
Subject: Re: bug#65113: Emacs-29 and master csharp-mode with broken treesit
Date: Sat, 12 Aug 2023 10:27:14 +0300
> From: J M <jean <at> tbm.email>
> Date: Thu, 10 Aug 2023 23:42:22 +0100
> Cc: Theodor Thornhill <theo <at> thornhill.no>,
>  casouri <at> gmail.com,
>  65113 <at> debbugs.gnu.org
> 
> See attached the requested backward-compatible change.

Thanks, installed on the emacs-29 branch, and closing the bug.

Please in the future accompany your changes with a ChangeLog-style
description of files and functions where you make changes (I did it
this time for you).


This bug report was last modified 1 year and 287 days ago.

Previous Next


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