[Teaching] Getting OCaml set up on a mac

Christophe Troestler Christophe.Troestler at umons.ac.be
Sat Jan 24 02:33:54 GMT 2015

On Fri, 23 Jan 2015 11:07:41 -0500, Greg Morrisett wrote:
> Thanks.  
> Your dot-emacs and dot-merlin work (with tuareg-2.0.8 which
> is what opam installs now.)
> However, font lock mode doesn’t automatically trigger on either
> emacs or aquamacs, in spite of the fact that I added:
>   (global-font-lock-mode t)
> If I add a hook to try to explicitly turn on font-lock:
>   (add-hook 'tuareg-mode-hook 'font-lock-fontify-buffer t)

(That should not be needed.)

> then I get the error:
>   Warning: Bug in tuareg-mode: it forgets to call `run-mode-hooks'
>   File mode specification error: (void-function tuareg-syntax-propertize)

For this, may you try the HEAD of Tuareg
<https://github.com/ocaml/tuareg/> and report back?  Thanks.


More information about the Teaching mailing list