From: Thibault Suzanne <thi.suzanne@gmail.com>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Re: Tuareg-mode and pipes |
Date: Wed, 23 May 2012 20:03:54 +0200 [thread overview]
Message-ID: <4FBD268A.5020908@gmail.com> (raw)
In-Reply-To: <4FBD1B7C.9040209@gmail.com>
Hi
Alternatively you could use typerex from ocamlpro
(http://www.typerex.org/), which indents the way you want. As for the
features, it does at least what tuareg does (and a few additionnal
things which i did not tested).
Thibault Suzanne
Le 23/05/2012 19:16, Hongbo Zhang a écrit :
> On 5/23/12 11:15 AM, Romain Bardou wrote:
>> Hi list,
>>
>> About two years ago, the following bug was reported:
>> https://forge.ocamlcore.org/tracker/index.php?func=detail&aid=659&group_id=43&atid=255
>>
>>
>>
>> If you don't want to click, here is the issue. Tuareg indents
>> pattern-matching like this:
>>
>> match x with
>> | Bla ->
>> hello
>>
>> But the previous behavior of Tuareg, which I prefer, was:
>>
>> match x with
>> | Bla ->
>> hello
>>
>> I have occasionally been updating my tuareg-mode, looking forward for
>> this "tuareg-pipe-indent" variable (see the comments in the bug report),
>> while patiently re-indenting pattern-matching by hand. But this
>> variable, or any similar variable, never appeared.
>>
>> After two years, I'm becoming suspicious that something went wrong. Does
>> anybody know what happened to the patch? Or how I can get my preferred
>> behavior back?
>>
>> A related question is the following. I read here a few weeks ago a claim
>> that the caml-mode was much better than the tuareg-mode. I was not able
>> to find a comparison between these two modes, to support this claim, nor
>> whether the caml-mode would fix the pipe behavior for me. Any comment
>> here would be appreciated.
> It's true.
> I previously used tuareg-mode, switched to caml-mode then
>>
>> Cheers,
>>
>
>
next prev parent reply other threads:[~2012-05-23 18:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-23 15:15 [Caml-list] " Romain Bardou
2012-05-23 15:53 ` Eric Cooper
2012-05-23 15:55 ` Romain Bardou
2012-05-23 16:15 ` Eric Cooper
2012-05-23 17:16 ` [Caml-list] " Hongbo Zhang
2012-05-23 18:03 ` Thibault Suzanne [this message]
[not found] ` <20120523.225137.2235002212124282451.Christophe.Troestler@umons.ac.be>
2012-05-23 21:27 ` [Caml-list] " Mehdi Dogguy
[not found] ` <20120524.104708.916458905184337628.Christophe.Troestler@umons.ac.be>
[not found] ` <20120524.220613.1066733202670535323.Christophe.Troestler@umons.ac.be>
2012-05-25 6:13 ` [Caml-list] Re: [Announce] New release of tuareg mode David House
2012-05-24 8:10 ` [Caml-list] Tuareg-mode and pipes | Romain Bardou
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=4FBD268A.5020908@gmail.com \
--to=thi.suzanne@gmail.com \
--cc=caml-list@inria.fr \
/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