GNU bug report logs - #59528
[PATCH] Fix "void-function treesit-font-lock-rules" error

Previous Next

Package: emacs;

Reported by: Shohei YOSHIDA <syohex <at> gmail.com>

Date: Thu, 24 Nov 2022 03:20:02 UTC

Severity: normal

Tags: patch

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#59528: closed ([PATCH] Fix "void-function treesit-font-lock-rules"
 error)
Date: Thu, 24 Nov 2022 03:53:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 23 Nov 2022 19:51:56 -0800
with message-id <E70C9AA4-EA29-49D9-83EA-5FFC1CD8950D <at> gmail.com>
and subject line Re: bug#59528: [PATCH] Fix "void-function treesit-font-lock-rules" error
has caused the debbugs.gnu.org bug report #59528,
regarding [PATCH] Fix "void-function treesit-font-lock-rules" error
to be marked as done.

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


-- 
59528: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59528
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Shohei YOSHIDA <syohex <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Cc: Shohei YOSHIDA <syohex <at> gmail.com>
Subject: [PATCH] Fix "void-function treesit-font-lock-rules" error
Date: Thu, 24 Nov 2022 12:18:48 +0900
Load treesit for using its functions
---
 lisp/progmodes/csharp-mode.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/progmodes/csharp-mode.el b/lisp/progmodes/csharp-mode.el
index 23d7b05d50..c507de94e0 100644
--- a/lisp/progmodes/csharp-mode.el
+++ b/lisp/progmodes/csharp-mode.el
@@ -27,6 +27,7 @@
 (require 'compile)
 (require 'cc-mode)
 (require 'cc-langs)
+(require 'treesit)
 
 (eval-when-compile
   (require 'cc-fonts))
-- 
2.37.2



[Message part 3 (message/rfc822, inline)]
From: Yuan Fu <casouri <at> gmail.com>
To: Shohei Yoshida <syohex <at> gmail.com>
Cc: 59528 <at> debbugs.gnu.org, 59528-done <at> debbugs.gnu.org
Subject: Re: bug#59528: [PATCH] Fix "void-function treesit-font-lock-rules"
 error
Date: Wed, 23 Nov 2022 19:51:56 -0800

> On Nov 23, 2022, at 7:30 PM, Shohei Yoshida <syohex <at> gmail.com> wrote:
> 
> How to reproduce this bug
> 
> 1. emacs -Q a.cs
> 2. You get an error. File mode specification error: (void-function treesit-font-lock-rules)
> 
> I use d47e05219f963c28be3b018f31d232aa8eeb200f revision
> 
> On Thu, Nov 24, 2022 at 12:20 PM Shohei YOSHIDA <syohex <at> gmail.com> wrote:
> Load treesit for using its functions

Thanks! this should be fixed now.

Yuan

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

Previous Next


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