From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p3JNI2fq019972 for ; Wed, 20 Apr 2011 01:18:02 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: An4CAJAXrk3RVdW2kWdsb2JhbACXOzKGCYc6CBQBAQEBCQsLBxQEIYhvoGOKdIIlhUIxiF0BAQMGhWsEggGMBodZgh06 X-IronPort-AV: E=Sophos;i="4.64,242,1301868000"; d="scan'208";a="97563233" Received: from mail-yx0-f182.google.com ([209.85.213.182]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 20 Apr 2011 01:17:57 +0200 Received: by yxl31 with SMTP id 31so87090yxl.27 for ; Tue, 19 Apr 2011 16:17:55 -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=hw4FhrVvw7CxVoe8WH9mF2+sGo8+0Lb5DRmCBN+oWRc=; b=VpIZbaOwjz/E28eq6IsldzMppWOIjdU2dcM8PLcQXKdlUK0Oq8teEpo5RYBJTRpFfB 76wia9z+QWKtrXaVhd5fcOutIPr4smJ0tgIgP8pJmUEyaAlBUgHJ0RAII+yGNTnInv+B rtJHEZJ1mmbgklWtBxerzTq0G6kKEFATykUWc= 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=OptpLnIO5WOHKTyaFYB+kVOBhYO8jWeh8RjZooZhZ4qDYVcjekPKiijS3Coi47DLqt A7kYfNmsjxjNbigZrfHZMDtQ4GsddF1sKJMqw37ed96Fx8aInMvnKE08x6m88u1SZU61 KB4I0X2P8dXAMPnbDY6rnqI7ISaq84dIzZQDY= Received: by 10.146.133.3 with SMTP id g3mr3198808yad.1.1303255075076; Tue, 19 Apr 2011 16:17:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.147.35.3 with HTTP; Tue, 19 Apr 2011 16:17:35 -0700 (PDT) In-Reply-To: <96D7ADA9-24DA-4836-A4C7-816F468BD0EA@gmail.com> References: <96D7ADA9-24DA-4836-A4C7-816F468BD0EA@gmail.com> From: Ashish Agarwal Date: Tue, 19 Apr 2011 19:17:35 -0400 Message-ID: To: Joel Reymont Cc: caml-list Content-Type: multipart/alternative; boundary=000e0cd2eb16cd391e04a14db76f Subject: Re: [Caml-list] tuareg and first-class modules --000e0cd2eb16cd391e04a14db76f Content-Type: text/plain; charset=ISO-8859-1 I have always used: (setq tuareg-in-indent 0) as described in the custom-tuareg.el file included with tuareg. This does what you want, but then will do it for all lines after 'in', which maybe you don't want. On Thu, Apr 14, 2011 at 6:46 AM, Joel Reymont wrote: > Is there an update to Tuareg mode for first-class modules? > > I would like this > > let open Name in > let open Registering in > > to be this, for example > > let open Name in > let open Registering in > > -------------------------------------------------------------------------- > - for hire: mac osx device driver ninja, kernel extensions and usb drivers > ---------------------+------------+--------------------------------------- > http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont > ---------------------+------------+--------------------------------------- > > > > > -- > Caml-list mailing list. Subscription management and archives: > https://sympa-roc.inria.fr/wws/info/caml-list > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > > --000e0cd2eb16cd391e04a14db76f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I have always used:

=A0 (setq tuareg-in-indent 0)
<= div>
as described in the custom-tuareg.el file included with = tuareg. This does what you want, but then will do it for all lines after &#= 39;in', which maybe you don't want.

On Thu, Apr 14, 2011 at 6:46 AM, Joel Reymon= t <joelr1@gmail.co= m> wrote:
Is there an update to Tuareg mode for first-class modules?

I would like this

=A0let open Name in
=A0 =A0 =A0let open Registering in

to be this, for example

=A0let open Name in
=A0let open Registering 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>



--
Caml-list mailing list. =A0Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs


--000e0cd2eb16cd391e04a14db76f--