I have experimented a bit with Tuareg-mode, the alternate mode for ocaml
editing, and it did solve this, but I prefered the indenting in the
default ocaml-mode and Tuareg seemd to have trouble with font colors for
functions with labels.
There seem to be a number of similar discussions between the two emacs
modes in the archives on this list but I couldn't locate anything that
dealt with these specific issues, the multiline comments and comment
filling, in ocaml-mode. If anyone has pointers to other discussion or
tips, please enlighten me.
Cheers,
Chris
_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs
This will solve the indenting "problem":
(add-hook 'tuareg-mode-hook
(function (lambda ()
(setq tuareg-in-indent 0)
(setq tuareg-let-always-indent t)
(setq tuareg-let-indent tuareg-default-indent)
(setq tuareg-with-indent 0)
(setq tuareg-function-indent 0)
(setq tuareg-fun-indent 0)
(setq tuareg-parser-indent 0)
(setq tuareg-match-indent 0)
(setq tuareg-begin-indent tuareg-default-indent)
(setq tuareg-parse-indent tuareg-default-indent); .mll
(setq tuareg-rule-indent tuareg-default-indent)
(setq tuareg-font-lock-symbols nil)
)))
Cheers,
ChriS