Version française
Home     About     Download     Resources     Contact us    
Browse thread
tureg - revert to old indentation behavior
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Albert Cohen <Albert.Cohen@i...>
Subject: Re: [Caml-list] tureg - revert to old indentation behavior
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