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.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id AA439BC69 for ; Wed, 20 Sep 2006 16:11:14 +0200 (CEST) Received: from xios.futurs.inria.fr (xios.futurs.inria.fr [195.83.212.137]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id k8KEAne4018321 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 20 Sep 2006 16:10:49 +0200 Received: from xios.futurs.inria.fr (localhost [127.0.0.1]) by xios.futurs.inria.fr (8.13.0/8.12.10) with ESMTP id k8KEAnI2002690; Wed, 20 Sep 2006 16:10:49 +0200 Received: (from acohen@localhost) by xios.futurs.inria.fr (8.13.0/8.12.10/Submit) id k8KEAnRC002689; Wed, 20 Sep 2006 16:10:49 +0200 Date: Wed, 20 Sep 2006 16:10:49 +0200 From: Albert Cohen To: Hendrik Tews Cc: caml-list@inria.fr Subject: Re: [Caml-list] tureg - revert to old indentation behavior Message-ID: <20060920141049.GC2520@mailhost.futurs.inria.fr> Mail-Followup-To: Albert Cohen , Hendrik Tews , caml-list@inria.fr References: <17681.10748.825169.812385@tandem.cs.ru.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17681.10748.825169.812385@tandem.cs.ru.nl> User-Agent: Mutt/1.4.1i X-Miltered: at concorde with ID 45114BE9.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; bug:01 tuareg:01 hendrik:01 tews:01 tuareg:01 hendrik:01 beginner's:01 ocaml:01 bug:01 acohen:01 20,:98 2006:98 beginners:01 wrote:01 rewrite:01 Sorry, this is all my fault. this is simply a bug, not a feature. I started a major rewrite of the parenthesis indentation code (quite ugly and not satisfactory when multiple parentheses are on the same line), but it resulted in several regressions. Unfortunately, I have no time to fix Tuareg these days. The best is simply to revert to version 1.45.x. I promise I'll send an annoucement when the problems are resolved. Albert On Wed, Sep 20, 2006 at 01:46:04PM +0200, Hendrik Tews wrote: > Dear all, > > maybe somebody can answer this out of the head how to switch > tuareg to old indentation behaviour: > > with tuareg 1.46.1 (debian etch) I get > > A( > blah (* indent 4 after constructor, paren*) ) > > and > > if true > then begin > xxx; (* indent 4 after then begin *) > end (* end does not line up *) > > > where I am used to tuareg 1.44.3 (debian sarge) > > A( > blah (* indent 2 after constructor, paren*) ) > > and > > if true > then begin > xxx; (* indent 2 after then begin *) > end (* end does line up *) > > > Is there some old-style-switch that I simply can turn on? > > Bye, > > Hendrik > > _______________________________________________ > 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 -- Albert Cohen http://www-rocq.inria.fr/~acohen