unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#60050: 29.0.60;
@ 2022-12-13 21:44 Konstantin
  2022-12-13 22:01 ` Randy Taylor
  0 siblings, 1 reply; 4+ messages in thread
From: Konstantin @ 2022-12-13 21:44 UTC (permalink / raw)
  To: 60050

[-- Attachment #1: Type: text/plain, Size: 301 bytes --]

Hello,

Right now there are few minor mistakes in the building script for
tree-sitter modules.
/admin/notes/tree-sitter/build-module/batch.sh

It builds some modules which are not supported by emacs yet. For example
html, rust, go. It does not build the "bash" module, which is
supported by emacs.




[-- Attachment #2: build_modules.path --]
[-- Type: application/octet-stream, Size: 437 bytes --]

diff --git a/admin/notes/tree-sitter/build-module/batch.sh b/admin/notes/tree-sitter/build-module/batch.sh
index c395449..89abb2b 100755
--- a/admin/notes/tree-sitter/build-module/batch.sh
+++ b/admin/notes/tree-sitter/build-module/batch.sh
@@ -7,12 +7,10 @@ languages=(
     'css'
     'c-sharp'
     'dockerfile'
-    'go'
-    'html'
     'javascript'
     'json'
     'python'
-    'rust'
+    'bash'
     'typescript'
     'tsx'
 )

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#60050: 29.0.60;
  2022-12-13 21:44 bug#60050: 29.0.60; Konstantin
@ 2022-12-13 22:01 ` Randy Taylor
  2022-12-13 23:02   ` Stefan Kangas
  0 siblings, 1 reply; 4+ messages in thread
From: Randy Taylor @ 2022-12-13 22:01 UTC (permalink / raw)
  To: Konstantin; +Cc: 60050, Yuan Fu

On Tuesday, December 13th, 2022 at 16:44, Konstantin <reich-cv@yandex.ru> wrote:
> 
> Hello,
> 
> Right now there are few minor mistakes in the building script for
> tree-sitter modules.
> /admin/notes/tree-sitter/build-module/batch.sh
> 
> It builds some modules which are not supported by emacs yet. For example
> html, rust, go. It does not build the "bash" module, which is
> supported by emacs.
> 

I have a patch being reviewed for go support, and I'm working on rust support now.

Jostein already posted a patch adding bash (as part of toml support).

I'm not sure there's any harm in keeping html around, but we'll see what Yuan thinks.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#60050: 29.0.60;
  2022-12-13 22:01 ` Randy Taylor
@ 2022-12-13 23:02   ` Stefan Kangas
  2023-01-28  1:44     ` Randy Taylor
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Kangas @ 2022-12-13 23:02 UTC (permalink / raw)
  To: Randy Taylor, Konstantin; +Cc: 60050, Yuan Fu

Randy Taylor <dev@rjt.dev> writes:

> I'm not sure there's any harm in keeping html around, but we'll see
> what Yuan thinks.

I think having more modes than are needed is fine, as this script is
supposed to only be a help during development.  If someone starts
working on an HTML treesitter mode, they will be happy to find that it's
already there.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#60050: 29.0.60;
  2022-12-13 23:02   ` Stefan Kangas
@ 2023-01-28  1:44     ` Randy Taylor
  0 siblings, 0 replies; 4+ messages in thread
From: Randy Taylor @ 2023-01-28  1:44 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 60050-done@debbugs.gnu.org, Yuan Fu, Konstantin

On Tuesday, December 13th, 2022 at 18:02, Stefan Kangas <stefankangas@gmail.com> wrote:
> 
> Randy Taylor dev@rjt.dev writes:
> 
> > I'm not sure there's any harm in keeping html around, but we'll see
> > what Yuan thinks.
> 
> 
> I think having more modes than are needed is fine, as this script is
> supposed to only be a help during development. If someone starts
> working on an HTML treesitter mode, they will be happy to find that it's
> already there.

Closing this since the script now supports all those languages and there are modes for each one of them. And we have the new `treesit-install-langauge-grammar` command which seems to be the preferred way to install the grammars now.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-01-28  1:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-13 21:44 bug#60050: 29.0.60; Konstantin
2022-12-13 22:01 ` Randy Taylor
2022-12-13 23:02   ` Stefan Kangas
2023-01-28  1:44     ` Randy Taylor

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).