Closed ysalmon closed 2 years ago
The file should be installed during the installation. What method do you use to install Tuareg?
FYI: I just updated to using tuareg
3.0.0 through opam, and I'm getting the same error. Copying tuareg-compat.el
to share/emacs/site-lisp/
resolves the problem. Using ocaml 5.0.0~alpha1 / opam 2.1
It looks like the tuareg-compat
is missing from tuareg.install.
Hello, I have recently pinned my tuareg opam install to the git repo, and at first it did not work : upon opening a .ml file, Emacs (26.3) would complain about tuareg-compat missing and abort loading the major mode.
I found a
tuareg-compat.el
in my.opam/4.14.0/.opam-switch/sources/tuareg/
and copied it to.opam/4.14.0/share/emacs/site-lisp/
and it then worked.It might be me just having done something wrong beforehand, or it might be a bug in the scripts that build tuareg from the sources.