Your example indents correctly for me. I'm using tuareg 1.46.2 and tried on both emacs 23.2 on a Mac, and emacs 21.4.1 on RHEL.


On Wed, Apr 20, 2011 at 3:30 AM, Joel Reymont <joelr1@gmail.com> wrote:

On Apr 20, 2011, at 12:17 AM, Ashish Agarwal wrote:

> I have always used:
>
>     (setq tuareg-in-indent 0)

Doesn't seem to do the trick, e.g. still

let _ =
 let foo = 1 in
 let open Foo in
     let bar = 2 in

--------------------------------------------------------------------------
- for hire: mac osx device driver ninja, kernel extensions and usb drivers
---------------------+------------+---------------------------------------
http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont
---------------------+------------+---------------------------------------