Ihor Radchenko <yanta...@posteo.net> writes: > Sébastien Gendre <s...@k-7.ch> writes: > >> If we use PageFind, isn't possible to not include it with org-mode but >> have an Elisp function that download it ? Like what Elpy do with its Python >> dependencies ? > > It may be possible - Emacs already downloads tree-sitter grammars, for > example. But can you do it platform-independently, so that things keep > working on Windows, Linux, Guix, DOS (yes, Emacs still supports DOS), > what not?
Emacs downloads, BUILDS and installs the grammars. However Emacs also uses grammar installed by the users package manager if so available. I haven't seen any package or Emacs feature which uses prebuilts binaries. Prebuilt binaries from trusted sources are one thing, from untrusted third-parties it's a different thing.