From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id A7769BC48 for ; Wed, 23 Mar 2005 23:37:26 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j2NMbQW0011932 for ; Wed, 23 Mar 2005 23:37:26 +0100 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id XAA16516 for ; Wed, 23 Mar 2005 23:37:25 +0100 (MET) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j2NMbP02011929 for ; Wed, 23 Mar 2005 23:37:25 +0100 Received: from frontend2.messagingengine.com (frontend2.internal [10.202.2.151]) by frontend1.messagingengine.com (Postfix) with ESMTP id ABE45C63B57; Wed, 23 Mar 2005 17:37:23 -0500 (EST) X-Sasl-enc: B+D2VDTDSVySVQM92PMojQ 1111617440 Received: from [192.168.0.12] (gam75-1-82-235-220-45.fbx.proxad.net [82.235.220.45]) by www.fastmail.fm (Postfix) with ESMTP id 8EADA56F785; Wed, 23 Mar 2005 17:37:19 -0500 (EST) Message-ID: <4241EF9F.10705@ensta.org> Date: Wed, 23 Mar 2005 23:37:19 +0100 From: Olivier Grisel User-Agent: Mozilla Thunderbird 1.0 (X11/20050111) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Markus Mottl , david.baelde@ens-lyon.org Cc: caml-list@inria.fr Subject: Re: [Caml-list] New Ocaml indentation for VIm References: <42058167.4030700@ens-lyon.fr> <421EFC68.6060002@ensta.org> <421F74AE.40604@ens-lyon.fr> <20050307155704.GA16608@quant3.janestcapital.quant> In-Reply-To: <20050307155704.GA16608@quant3.janestcapital.quant> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Miltered: at nez-perce with ID 4241EFA6.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 4241EFA5.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 ocaml:01 vim:01 markus:01 mottl:01 ocaml:01 vim:01 cmo:01 cmx:01 cmxa:01 swp:98 idx:98 cmi:01 wrote:01 cma:01 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=disabled version=3.0.2 X-Spam-Level: Markus Mottl wrote: > Hi David, > > Sorry for the long delay, but I'm currently having a huge backlog of > mails that need to be answered. > > I have now found time to take a closer look at your work, and I think > it looks very promising. I have just integrated your changes into my > distribution of Vim-files (see signature for link to my new site). > > The two indentation styles are still separate, but I think that once OMLet > is stable, we can make it the default. I'll keep using it as default in > my projects to track down potential problems, but it looks great so far. > Thanks a lot for your work! To all vimist-ocamlers around here, Something I find rather useful when programming in ocaml with vim, is to add all the .cm* suffixes to your suffixes variable, eg: set suffixes=.bak,~,.swp,.o,.info,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,.ilg,.inx,.out,.toc,.cmi,.cmo,.cma,.cmx,.cmxa,.omc (The .omc is only useful when using omake as a [great!] building tool). This line is both useful when using vim's file explorer or the tab completion. It would be nice if something similar could be included by default in David's omlet or Markus' ftplugin/ocaml.vim file. Best, Olivier