From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id CA991BB84 for ; Wed, 24 Dec 2008 11:12:05 +0100 (CET) X-IronPort-AV: E=Sophos;i="4.36,277,1228086000"; d="scan'208";a="21701113" Received: from concorde.inria.fr ([192.93.2.39]) by mail1-smtp-roc.national.inria.fr with ESMTP; 24 Dec 2008 11:12:05 +0100 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id mBOAC4nx002797 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Wed, 24 Dec 2008 11:12:05 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aq0BAIOZUUlRZ90xlGdsb2JhbACDHIoZhjYBAQEBCQsICREDqgJYkTqGQg X-IronPort-AV: E=Sophos;i="4.36,277,1228086000"; d="scan'208";a="20773572" Received: from mtaout03-winn.ispmail.ntl.com ([81.103.221.49]) by mail3-smtp-sop.national.inria.fr with ESMTP; 24 Dec 2008 11:12:04 +0100 Received: from aamtaout03-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout03-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20081224101203.RKLM7670.mtaout03-winn.ispmail.ntl.com@aamtaout03-winn.ispmail.ntl.com>; Wed, 24 Dec 2008 10:12:03 +0000 Received: from romulus.metastack.com ([81.102.132.77]) by aamtaout03-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20081224101159.TGHT2093.aamtaout03-winn.ispmail.ntl.com@romulus.metastack.com>; Wed, 24 Dec 2008 10:11:59 +0000 Received: from Countertenor ([149.254.192.208]) (authenticated bits=0) by romulus.metastack.com (8.14.2/8.14.2) with ESMTP id mBOABrYO020191 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 24 Dec 2008 10:11:57 GMT From: "David Allsopp" To: "'Oliver Bandel'" , References: <1230081835.49518f2b6e335@webmail.in-berlin.de> In-Reply-To: <1230081835.49518f2b6e335@webmail.in-berlin.de> Subject: RE: [Caml-list] vim OCaml-syntax: wrong indentation... Date: Wed, 24 Dec 2008 10:11:46 -0000 Organization: MetaStack Solutions Ltd. Message-ID: <007901c965b0$0ab19730$2014c590$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 thread-index: AcllZk41QOJZ7hR9RTKMmfM2P56MfwASZ+NQ Content-Language: en-gb X-Scanned-By: MIMEDefang 2.64 on 81.102.132.74 X-Cloudmark-Analysis: v=1.0 c=1 a=pslDJIMZnDgA:10 a=n0rRjkg3oV8A:10 a=RuZQMCD6AAAA:8 a=ZOzjf2MOAAAA:8 a=CjxXgO3LAAAA:8 a=oJP06FWTE1UFEngDb1QA:9 a=ueHzBsF0L9tXH04LcckA:7 a=DM4CGGFl04GtwbwU-RdrjrZGTa4A:4 a=_JOM-WVB9eEA:10 a=wQxx2gU8CuYA:10 a=qIjLoMD9l_sA:10 X-Miltered: at concorde with ID 49520AF4.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocaml-syntax:01 ocaml:01 ocaml:01 markus:01 mottl:01 markus:01 mottl:01 bug:01 bandel:01 ocaml-syntax:01 syntax:01 syntax:01 bug:01 beginner's:01 bounces:98 C:\>head -10 c:\vim\vim72\indent\ocaml.vim " Vim indent file " Language: OCaml " Maintainers: Jean-Francois Yuen " Mike Leary " Markus Mottl " URL: http://www.ocaml.info/vim/indent/ocaml.vim " Last Change: 2005 Jun 25 - Fixed multiple bugs due to 'else\nreturn ind' working " 2005 May 09 - Added an option to not indent OCaml-indents specially (MM) " 2005 Apr 11 - Fixed an indentation bug concerning "let" (MM) HTH, David > -----Original Message----- > From: caml-list-bounces@yquem.inria.fr [mailto:caml-list- > bounces@yquem.inria.fr] On Behalf Of Oliver Bandel > Sent: 24 December 2008 01:24 > To: caml-list@inria.fr > Subject: [Caml-list] vim OCaml-syntax: wrong indentation... > > Hello, > > in some cases, when switching on the syntax in vim > on an ocaml-file, the indentation is not as I configured in my > .vimrc-file. > > Some of the options I have set: > > set expandtab > set sw=2 > set tabstop=2 > set ai > > > in some regions the indentation by tab is two spaces, > in others it's just one. > When switching off syntax, then indentation is always > two spaces. So this looks like a bug. > can't believe that this is a feature. > > Is here someone on the list, who knows about this and > maybe also is in the vim-developers team, so that it can > be fixed? > > Ciao, > Oliver > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs