I installed typerex and ocp-indent, but don't find ocp-indent.el. And opam update says I'm up to date. $ opam info typerex package: typerex installed-version: typerex.1.99.0-beta [4.00.1+short-types] description: Set of tools and libraries for OCaml, developed by OCamlPro and INRIA $ opam info ocp-indent package: ocp-indent installed-version: ocp-indent.0.1.0 [4.00.1+short-types] description: A simple tool to indent OCaml programs $ cd ~/.opam $ find . -name "ocp-indent.el" (* no output *) On Fri, Feb 8, 2013 at 10:25 AM, Louis Gesbert wrote: > OCamlPro is proud to announce the beta-release of ocp-indent. > > Ocp-indent is a simple tool, entirely written in OCaml, which sole purpose > is to > indent OCaml code. It can plug-in seamlessly into emacs' tuareg mode, or > be run > from vim. > > You can try it now with: > > $ opam install ocp-indent > > $ INSTDIR="$(opam config var prefix)/share/typerex/ocp-indent" > > $ echo '(load-file "'"$INSTDIR/ocp-indent.el"'")' >>~/.emacs > > $ echo 'autocmd FileType ocaml source '"$INSTDIR"'/ocp-indent.vim' > >>~/.vimrc > > > Or check it out at https://github.com/OCamlPro/ocp-indent > > > > It presents many improvements over the tuareg indentation engine, a much > better > understanding of the syntax, linear complexity, specific handling for many > cases. Also, it was intentionally provided with much less customisation > options. > > Feel free to submit any code snippet that is not indented to your taste, > to help > us improve ocp-indent further. > > > Some comparison with tuareg on a few big OCaml projects can be seen at > http://htmlpreview.github.com/?https://github.com/AltGr/ocp-indent- > tests/blob/master/status.html > > > -- > Louis Gesbert, OCamlPro > > -- > Caml-list mailing list. Subscription management and archives: > https://sympa.inria.fr/sympa/arc/caml-list > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs >