GNU bug report logs - #58823
feature/tree-sitter doesn't build without tree-sitter

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefankangas <at> gmail.com>

Date: Thu, 27 Oct 2022 21:02:02 UTC

Severity: normal

Fixed in version 29.1

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: Eli Zaretskii <eliz <at> gnu.org>
To: Yuan Fu <casouri <at> gmail.com>
Cc: 58823 <at> debbugs.gnu.org, stefankangas <at> gmail.com
Subject: bug#58823: feature/tree-sitter doesn't build without tree-sitter
Date: Fri, 28 Oct 2022 08:46:32 +0300
> Cc: 58823 <at> debbugs.gnu.org
> From: Yuan Fu <casouri <at> gmail.com>
> Date: Thu, 27 Oct 2022 15:59:14 -0700
> 
> > On Oct 27, 2022, at 2:01 PM, Stefan Kangas <stefankangas <at> gmail.com> wrote:
> > 
> > This system does not have tree-sitter installed.  The
> > feature/tree-sitter branch doesn't seem to build without it.
> 
> Oh, right, the lisp code has to prepare for the case where tree-sitter is not compiled. Should we declare-function for all the functions in treesit.c?

Yes.

> And all tree-sitter code called by other lisp files should be guarded by treesit-available-p. I can fix that.

Yes, thanks.




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

Previous Next


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