From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by sympa.inria.fr (Postfix) with ESMTPS id 1CE477ED26 for ; Wed, 23 May 2012 17:15:13 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Au8CAAP+vE+yIGHOnGdsb2JhbAAqGrRYAQEBAQEICwkJFCeCQxFAPRYYAwIBAgFYCAKICgQHKZh+oSgEizGCAIMeA5sNjGs X-IronPort-AV: E=Sophos;i="4.75,645,1330902000"; d="scan'208";a="144853608" Received: from 19.mo1.mail-out.ovh.net (HELO mo1.mail-out.ovh.net) ([178.32.97.206]) by mail4-smtp-sop.national.inria.fr with ESMTP; 23 May 2012 17:15:12 +0200 Received: from mail26.ha.ovh.net (b9.ovh.net [213.186.33.59]) by mo1.mail-out.ovh.net (Postfix) with SMTP id 8976210102D5 for ; Wed, 23 May 2012 17:18:08 +0200 (CEST) Received: from b0.ovh.net (HELO queueout) (213.186.33.50) by b0.ovh.net with SMTP; 23 May 2012 17:15:11 +0200 Received: from unknown (HELO ?138.231.81.46?) (romain%bardou.fr@138.231.81.46) by ns0.ovh.net with SMTP; 23 May 2012 17:15:10 +0200 Message-ID: <4FBCFF05.5030500@lsv.ens-cachan.fr> Date: Wed, 23 May 2012 17:15:17 +0200 From: Romain Bardou User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) Gecko/20120510 Icedove/10.0.4 MIME-Version: 1.0 To: caml-list@inria.fr X-Ovh-Mailout: 178.32.228.1 (mo1.mail-out.ovh.net) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Ovh-Tracer-Id: 18374123530826995488 X-Ovh-Remote: 138.231.81.46 () X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-OVH-SPAMSTATE: OK X-OVH-SPAMSCORE: 15 X-OVH-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeegjedrudejucetufdoteggodetrfdofgetucfrrhhofhhilhgvmecuqfggjfenuceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdludehmdenucfhrhhomheptfhomhgrihhnuceurghrughouhcuoegsrghrughouheslhhsvhdrvghnshdqtggrtghhrghnrdhfrheqnecuffhomhgrihhnpehotggrmhhltghorhgvrdhorhhgnecujfgurhepkfffhfgfggfvufgtgfesthejrgdttdefud X-Spam-Check: DONE|U 0.5/N X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 15 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeegjedrudejucetufdoteggodetrfdofgetucfrrhhofhhilhgvmecuqfggjfenuceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdludehmdenucfhrhhomheptfhomhgrihhnuceurghrughouhcuoegsrghrughouheslhhsvhdrvghnshdqtggrtghhrghnrdhfrheqnecuffhomhgrihhnpehotggrmhhltghorhgvrdhorhhgnecujfgurhepkfffhfgfggfvufgtgfesthejrgdttdefud X-Validation-by: bardou@lsv.ens-cachan.fr Subject: [Caml-list] Tuareg-mode and pipes | 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