the ocaml mode for emacs doesn't highlight multi-line comments as you type. it can also get confused with how to indent comments if they span multiple lines. highlighting partially works though- when you close and re-open the file, the comment will properly appear in red Reproducible: Always Steps to Reproduce: 1. begin editing a file called test.ml 2. type the following comments: (* this is a single line comment *) (* this is a multiline comment *) Actual Results: the single line comment stays black while typing but turns red upon closing the parenthesis. the multiline comment never turns red. Expected Results: all lines of the multiline comment should turn red after the close parenthesis i can't find a reproducible case for the indenting multi-line comments getting confused :(. i just hoped you might see something out of place while fixing the syntax highlighting.
Right. I would consider this an upstream bug. The caml mode is not up to date though as it is not distributed separately anymore. We have two choices now: 1) app-emacs/ocaml-mode extracts the Emacs support files from the whole OCAML tarball 2) dev-lang/ocaml will get an emacs USE flag and activate the support all by himself. ml team, what do you think?
I bumped the package to 3.09.3, but the "error" still persists. Multi-line comments work though when I do a "M-x caml-mode", all existing entries are then highlighted. I will close this bug as UPSTREAM as it is not our task to fix such errors.