From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id A9647BC0A for ; Thu, 7 Jun 2007 17:21:10 +0200 (CEST) Received: from mail.cs.unm.edu (mail.cs.unm.edu [64.106.20.33]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l57FL9TG008341 for ; Thu, 7 Jun 2007 17:21:10 +0200 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.cs.unm.edu (Postfix) with ESMTP id B866EE4107; Thu, 7 Jun 2007 09:21:08 -0600 (MDT) Received: from mail.cs.unm.edu ([127.0.0.1]) by localhost (mail [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 25445-04; Thu, 7 Jun 2007 09:21:08 -0600 (MDT) Received: from deimos.cs.unm.edu (deimos.cs.unm.edu [64.106.21.29]) by mail.cs.unm.edu (Postfix) with ESMTP id 62689E4106; Thu, 7 Jun 2007 09:21:08 -0600 (MDT) Date: Thu, 7 Jun 2007 09:21:45 -0600 (MDT) From: "William D. Neumann" To: Jonathan Bryant Cc: Joel Reymont , caml-list@yquem.inria.fr Subject: Re: [Caml-list] OSX GUI In-Reply-To: <0361BEC7-5E6A-44C4-B197-C0E04B552222@valdosta.edu> Message-ID: References: <200706061616.58578.jon@ffconsultancy.com> <755FDE71-7ADC-4313-9D69-109BC6D834BE@valdosta.edu> <8ABE187D-314A-4FBC-AEDC-333AAA148058@gmail.com> <0361BEC7-5E6A-44C4-B197-C0E04B552222@valdosta.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at cs.unm.edu X-Miltered: at concorde with ID 46682265.004 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; osx:01 ocaml:01 emacs:01 ocaml:01 messes:01 syntax:01 syntax:01 toplevel:01 2007,:98 2.0:98 tiger:98 recorder:98 wrote:01 regex:01 caml-list:01 On Wed, 6 Jun 2007, Jonathan Bryant wrote: >> Do you prefer TextMate's OCaml mode to that of Emacs? > > It's OCaml mode usually works fine, but there are a few places it messes up: > the "with" record syntax is the most notable. Yeah... unfortunately, the regex matching that the syntax hilighting is based on hakes it hard to get certain constructs right. I believe this is supposed to be overhauled in v2.0 (which is dependant on Tiger). BTW: what's wrong with the with record syntax? It seems to work fine for me. > Downsides are that (a) not programmable, and (b) you have to keep a terminal > open to build, etc. Well, it is scriptable, so you could write a script that tould take care of that for you. Ocamlbuild should help make this a bit less painless as well. Actually, my biggest annoyance is that you can't easily do something like jump to the ith character of a selection (though I could prabably write a script for that too), which is needed for working with large exressions in the toplevel where it identifies errors by location and not highlighting. William D. Neumann --- "There's just so many extra children, we could just feed the children to these tigers. We don't need them, we're not doing anything with them. Tigers are noble and sleek; children are loud and messy." -- Neko Case Life is unfair. Kill yourself or get over it. -- Black Box Recorder