Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Caml-list] tureg - revert to old indentation behavior

2 views
Skip to first unread message

Hendrik Tews

unread,
Sep 20, 2006, 7:57:25 AM9/20/06
to caml...@inria.fr
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

unread,
Sep 20, 2006, 10:17:21 AM9/20/06
to Hendrik Tews
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

--
Albert Cohen http://www-rocq.inria.fr/~acohen

Hendrik Tews

unread,
Sep 20, 2006, 10:30:55 AM9/20/06
to caml...@inria.fr

Sorry, this is all my fault. this is simply a bug, not a feature. I

The best is simply to revert to version 1.45.x.

Oh well, fair enough!

Could one of the Debian Ocaml Maintainers take an appropriate
action? (It would be so bad if etch is shiped with a broken
tuareg-mode ;-)

0 new messages