Closed mattiasdrp closed 2 years ago
There's a custom variable defined in tuareg.el :
https://github.com/ocaml/tuareg/blob/04f5ab6be9ae1c594bab359819dbaf708ae57fda/tuareg.el#L251-L261
If I read it correctly, when tuareg sees file.pp.ml it should look for file.mli and go to it if it exists or create it.
file.pp.ml
file.mli
Now, this is the behaviour I have:
After hitting C-c C-a
As you can see, it doesn't look for a.mli and tries to create a.pp.mli which is not the expected behaviour.
a.mli
a.pp.mli
The thing is I wanted to edit tuareg-other-file-alist but it's not even accessible from M-x customize-group <enter> tuareg
tuareg-other-file-alist
M-x customize-group <enter> tuareg
You can replicate the bug by doing the following:
a.pp.ml
emacs -q -l path/to/plain-tuareg.el a.pp.ml
Thanks :-)
There's a custom variable defined in tuareg.el :
https://github.com/ocaml/tuareg/blob/04f5ab6be9ae1c594bab359819dbaf708ae57fda/tuareg.el#L251-L261
If I read it correctly, when tuareg sees
file.pp.ml
it should look forfile.mli
and go to it if it exists or create it.Now, this is the behaviour I have:
After hitting C-c C-a
As you can see, it doesn't look for
a.mli
and tries to createa.pp.mli
which is not the expected behaviour.The thing is I wanted to edit
tuareg-other-file-alist
but it's not even accessible fromM-x customize-group <enter> tuareg
You can replicate the bug by doing the following:
a.pp.ml
anda.mli
emacs -q -l path/to/plain-tuareg.el a.pp.ml