GNU bug report logs - #65673
[PATCH emacs 0/1] Add lua-ts-mode

Previous Next

Package: emacs;

Reported by: ~johnmuhl <jm <at> pub.pink>

Date: Fri, 1 Sep 2023 06:31:03 UTC

Severity: wishlist

Tags: patch

Merged with 65672

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

Bug is archived. No further changes may be made.

Full log


Message #43 received at 65673 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: jm <at> pub.pink
Cc: 65673 <at> debbugs.gnu.org
Subject: Re: bug#65673: [PATCH] Add lua-ts-mode
Date: Sat, 16 Sep 2023 14:17:09 +0300
> Resent-To: bug-gnu-emacs <at> gnu.org
> Cc: philipk <at> posteo.net, ~emacs/emacs-devel <at> lists.sr.ht, jm <at> pub.pink,
>  maurooaranda <at> gmail.com, 65673-done <at> debbugs.gnu.org, arstoffel <at> gmail.com
> Date: Sat, 16 Sep 2023 13:03:11 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> 
> > Cc: john muhl <jm <at> pub.pink>, arstoffel <at> gmail.com, maurooaranda <at> gmail.com,
> >  65673 <at> debbugs.gnu.org, ~emacs/emacs-devel <at> lists.sr.ht
> > Date: Mon, 11 Sep 2023 10:03:13 -0500
> > From:  john muhl via "Bug reports for GNU Emacs,
> >  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> > 
> > * lisp/progmodes/lua-ts-mode.el:
> > * test/lisp/progmodes/lua-ts-mode-resources/indent.erts:
> > * test/lisp/progmodes/lua-ts-mode-tests.el: New file.
> > * etc/NEWS: Mention new mode.
> > * lisp/progmodes/eglot.el (eglot-server-programs):
> > * lisp/progmodes/hideshow.el (hs-special-modes-alist): Support
> > lua-ts-mode.
> > * admin/notes/tree-sitter/build-module/batch.sh:
> > * admin/notes/tree-sitter/build-module/build.sh: Add Lua.
> > * test/infra/Dockerfile.emba:
> > * test/infra/test-jobs.yml: Include lua-ts-mode tests.
> 
> Thanks, installed on the master branch, and closing the bug.

However, this causes byte-compilation warnings on a system where
tree-sitter is not available:

  In end of data:
  progmodes/typescript-ts-mode.el:498:17: Warning: the function ‘treesit-node-end’ is not known to be defined.
  progmodes/typescript-ts-mode.el:497:17: Warning: the function ‘treesit-node-start’ is not known to be defined.
  progmodes/typescript-ts-mode.el:474:6: Warning: the function ‘treesit-query-compile’ is not known to be defined.

Could you please fix these warnings?




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

Previous Next


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