Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: William D. Neumann <wneumann@c...>
Subject: Re: [Caml-list] OSX GUI
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 

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