caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Albert Cohen <Albert.Cohen@inria.fr>
To: Hendrik Tews <tews@cs.ru.nl>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] tureg - revert to old indentation behavior
Date: Wed, 20 Sep 2006 16:10:49 +0200	[thread overview]
Message-ID: <20060920141049.GC2520@mailhost.futurs.inria.fr> (raw)
In-Reply-To: <17681.10748.825169.812385@tandem.cs.ru.nl>

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


  reply	other threads:[~2006-09-20 14:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-20 11:46 Hendrik Tews
2006-09-20 14:10 ` Albert Cohen [this message]
2006-09-20 14:24   ` [Caml-list] " Hendrik Tews

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060920141049.GC2520@mailhost.futurs.inria.fr \
    --to=albert.cohen@inria.fr \
    --cc=caml-list@inria.fr \
    --cc=tews@cs.ru.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).