[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#65673: [PATCH] Add lua-ts-mode
From: |
Eli Zaretskii |
Subject: |
bug#65673: [PATCH] Add lua-ts-mode |
Date: |
Sat, 16 Sep 2023 14:17:09 +0300 |
> Resent-To: bug-gnu-emacs@gnu.org
> Cc: philipk@posteo.net, ~emacs/emacs-devel@lists.sr.ht, jm@pub.pink,
> maurooaranda@gmail.com, 65673-done@debbugs.gnu.org, arstoffel@gmail.com
> Date: Sat, 16 Sep 2023 13:03:11 +0300
> From: Eli Zaretskii <eliz@gnu.org>
>
> > Cc: john muhl <jm@pub.pink>, arstoffel@gmail.com, maurooaranda@gmail.com,
> > 65673@debbugs.gnu.org, ~emacs/emacs-devel@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@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?
- bug#65672: [PATCH emacs 1/1] Add lua-ts-mode, (continued)
bug#65673: [PATCH emacs 0/1] Add lua-ts-mode, Mauro Aranda, 2023/09/01
bug#65673: [PATCH emacs 1/1 v2] Add lua-ts-mode, john muhl, 2023/09/09
bug#65673: [PATCH] Add lua-ts-mode, john muhl, 2023/09/11