* tureg - revert to old indentation behavior
@ 2006-09-20 11:46 Hendrik Tews
2006-09-20 14:10 ` [Caml-list] " Albert Cohen
0 siblings, 1 reply; 3+ messages in thread
From: Hendrik Tews @ 2006-09-20 11:46 UTC (permalink / raw)
To: caml-list
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Caml-list] tureg - revert to old indentation behavior
2006-09-20 11:46 tureg - revert to old indentation behavior Hendrik Tews
@ 2006-09-20 14:10 ` Albert Cohen
2006-09-20 14:24 ` Hendrik Tews
0 siblings, 1 reply; 3+ messages in thread
From: Albert Cohen @ 2006-09-20 14:10 UTC (permalink / raw)
To: Hendrik Tews; +Cc: caml-list
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Caml-list] tureg - revert to old indentation behavior
2006-09-20 14:10 ` [Caml-list] " Albert Cohen
@ 2006-09-20 14:24 ` Hendrik Tews
0 siblings, 0 replies; 3+ messages in thread
From: Hendrik Tews @ 2006-09-20 14:24 UTC (permalink / raw)
To: caml-list
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 ;-)
Bye,
Hendrik
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-09-20 14:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-20 11:46 tureg - revert to old indentation behavior Hendrik Tews
2006-09-20 14:10 ` [Caml-list] " Albert Cohen
2006-09-20 14:24 ` Hendrik Tews
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox