Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible bug : missing file tuareg-compat #281

Closed
ysalmon opened this issue May 23, 2022 · 3 comments
Closed

Possible bug : missing file tuareg-compat #281

ysalmon opened this issue May 23, 2022 · 3 comments

Comments

@ysalmon
Copy link

ysalmon commented May 23, 2022

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.

@Chris00
Copy link
Member

Chris00 commented Sep 27, 2022

The file should be installed during the installation. What method do you use to install Tuareg?

@andersfugmann
Copy link

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

@andersfugmann
Copy link

It looks like the tuareg-compat is missing from tuareg.install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants