From: Romain Bardou <bardou@lsv.ens-cachan.fr>
To: caml-list@inria.fr
Subject: [Caml-list] Tuareg-mode and pipes |
Date: Wed, 23 May 2012 17:15:17 +0200 [thread overview]
Message-ID: <4FBCFF05.5030500@lsv.ens-cachan.fr> (raw)
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.
Cheers,
--
Romain Bardou
next reply other threads:[~2012-05-23 15:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-23 15:15 Romain Bardou [this message]
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
[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=4FBCFF05.5030500@lsv.ens-cachan.fr \
--to=bardou@lsv.ens-cachan.fr \
--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