Re: Emacs: lilypond-ts-mode and the future of lilypond-mode

Saul Tobin <[email protected]>
Newsgroups gmane.comp.gnu.lilypond.devel
Message-ID <CAPF+3FHJhqpxwUb+kAXg7_bXh4M95s1xz5P99HjpMG-04bmrPA@mail.gmail.com>
Uh oh. Thanks for the report. It would be helpful if you could let me know:

   1. Did the LilyPond Tree-sitter grammar get installed at all?
   `(treesit-ready-p 'lilypond)`
   2. If not, what happens when you manually run `(lilypond-ts--install)`

Thanks,

Saul

On Wed, Mar 19, 2025 at 11:45 AM David Kastrup <[email protected]> wrote:

> Saul Tobin <[email protected]> writes:
>
> >>
> >> git shortlog -s --after="10 years ago" elisp
> >>
> >
> > Not to say there haven't been commits, but the majority of substantial
> code
> > hasn't been touched.
> >
> >
> >> git grep lilypond-ts-mode
> >>
> >> yields exactly zero hits in the LilyPond repository.
> >>
> >> Neither is there anything in either ELPA or MELPA to be found.
> >>
> >> If you want to solicit feedback, maybe you should put some info about it
> >> anywhere where it could be found?  And/or place the package in MELPA or
> >> some other readily available Emacs package repository?
> >>
> >> Particularly putting the package in one of the standard package
> >> repositories would make it simple for people to install, test, deinstall
> >> and/or update the package.
> >>
> >
> > For right now, installation is manual from the Github repository linked
> in
> > my initial message.
> >
> > This is partly what I wanted to get opinions regarding. Obviously
> > historically lilypond-mode has been shipped as a component of LilyPond
> > itself, but it seems better going forward to use MELPA or eventually
> > perhaps ELPA. If lilypond-ts-mode is to be considered official or
> > quasi-official, is there any objection to me going ahead and submitting
> to
> > MELPA myself?
>
> Right now it doesn't seem to even work:
>
> ⛔ Warning (treesit): Cannot activate tree-sitter, because language grammar
> for lilypond is unavailable (version-mismatch): 15
> ⛔ Warning (treesit): The installed language grammar for lilypond cannot be
> located or has problems (version-mismatch): 15
> ⛔ Warning (treesit): Cannot activate tree-sitter, because language grammar
> for lilypond is unavailable (version-mismatch): 15
> ⛔ Warning (treesit): Cannot activate tree-sitter, because language grammar
> for lilypond is unavailable (version-mismatch): 15
> ⛔ Warning (treesit): Cannot activate tree-sitter, because language grammar
> for lilypond is unavailable (version-mismatch): 15
> ⛔ Warning (treesit): Cannot activate tree-sitter, because language grammar
> for lilypond is unavailable (version-mismatch): 15
> ⛔ Warning (treesit): Cannot activate tree-sitter, because language grammar
> for lilypond is unavailable (version-mismatch): 15
> ⛔ Warning (treesit): Cannot activate tree-sitter, because language grammar
> for lilypond is unavailable (version-mismatch): 15
> ⛔ Warning (treesit): Cannot activate tree-sitter, because language grammar
> for lilypond is unavailable (version-mismatch): 15
>
> --
> David Kastrup
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.