From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p3KDjvjk024039 for ; Wed, 20 Apr 2011 15:45:57 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsIBAIrirk3RVdW2kWdsb2JhbACXcoYKhzgIFAEBAQEJCwsHFAQhiG+jAYp0giWFNjOIXQEBAwaFawSOIodlgh06 X-IronPort-AV: E=Sophos;i="4.64,246,1301868000"; d="scan'208";a="81422249" Received: from mail-yx0-f182.google.com ([209.85.213.182]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 20 Apr 2011 15:45:51 +0200 Received: by yxl31 with SMTP id 31so302204yxl.27 for ; Wed, 20 Apr 2011 06:45:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=+4593ZfgYyb3bxfnq4+9+Rb7BGMCVfKFnrXq8IXJ6Yo=; b=xM5t+DWGdczBcznbiIEcpbAud9iGeoUYlym2BWV+ovOQ51/4JBr275rn86gNHxyID5 EH/glgkaFCZCdtK+TTkedKFYCK7/UaGMA6EwAd8GpDkkUmBIxWpLXD0il8qECjGdPPkq 9n08A2qf9osuvqkECiOokNK/0g6xeEEp1GiOE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=EtfSb3GcJDc+hvwthdAhKapwdZshMaWKjl0OaayINZXNIXU/V+Ig3GqyzlCraTU/C4 94yv/f3LHtGFB9X/Xi0UtmLoOvvn90cv+q1T70NSEIji1KYkYfyp261V8MiUzSRVXU+T 03CZs9ZVOR0YFZ0sxywlMWQzD5JRggrAFNFpI= Received: by 10.147.131.7 with SMTP id i7mr4294075yan.11.1303307150480; Wed, 20 Apr 2011 06:45:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.147.35.3 with HTTP; Wed, 20 Apr 2011 06:45:30 -0700 (PDT) In-Reply-To: <2BC95D9C-0F77-4D26-B010-49817817112B@gmail.com> References: <96D7ADA9-24DA-4836-A4C7-816F468BD0EA@gmail.com> <2BC95D9C-0F77-4D26-B010-49817817112B@gmail.com> From: Ashish Agarwal Date: Wed, 20 Apr 2011 09:45:30 -0400 Message-ID: To: Joel Reymont Cc: caml-list Content-Type: multipart/alternative; boundary=000e0cd4c8a4bcd4b204a159d751 Subject: Re: [Caml-list] tuareg and first-class modules --000e0cd4c8a4bcd4b204a159d751 Content-Type: text/plain; charset=ISO-8859-1 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 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 > ---------------------+------------+--------------------------------------- > > > > --000e0cd4c8a4bcd4b204a159d751 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Your example indents correctly for me. I'm using tuareg 1.46.2 and trie= d 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><= /span> wrote:

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

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

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

let _ =3D
=A0let foo =3D 1 in
=A0let open Foo in
=A0 =A0 =A0let bar =3D 2 in

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



--000e0cd4c8a4bcd4b204a159d751--