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=HTML_MESSAGE autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 15213BC0A for ; Thu, 7 Jun 2007 19:33:53 +0200 (CEST) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.178]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l57HXoxn003618 for ; Thu, 7 Jun 2007 19:33:51 +0200 Received: by py-out-1112.google.com with SMTP id u52so917316pyb for ; Thu, 07 Jun 2007 10:33:50 -0700 (PDT) Received: by 10.65.137.5 with SMTP id p5mr3429450qbn.1181237629830; Thu, 07 Jun 2007 10:33:49 -0700 (PDT) Received: by 10.65.163.6 with HTTP; Thu, 7 Jun 2007 10:33:49 -0700 (PDT) Message-ID: <71767b800706071033g6394f7d4ra2d13d04d40b46b2@mail.gmail.com> Date: Thu, 7 Jun 2007 13:33:49 -0400 From: "Ralph Douglass" To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] OSX GUI In-Reply-To: <7E4A770F-6B75-49B2-AC84-2326E37C8D48@valdosta.edu> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_17870_22930004.1181237629773" 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> <71767b800706071008h1b0b6f25m8e7e88f161f54c49@mail.gmail.com> <7E4A770F-6B75-49B2-AC84-2326E37C8D48@valdosta.edu> X-Miltered: at discorde with ID 4668417E.001 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; osx:01 ocaml:01 ocaml:01 emacs:01 messes:01 syntax:01 syntax:01 bug:01 toplevel:01 beginner's:01 bug:01 beginner's:01 emacs:01 messes:01 toplevel:01 ------=_Part_17870_22930004.1181237629773 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I'm not sure, but I recommend getting it from subversion. I had problems with it when I used getbundle, so I went back to checking out the bundles with subversion. You might also want to install cmigrep (it's in godi) in order to use the ocaml experimental completions bundle. On 6/7/07, Jonathan Bryant wrote: > > (I guess this is getting a bit off topic for this list, but I'll > press on anyway) > > I just did with GetBundle and I'm still having the same problem. Is > there any way to tell what version of the bundle I have so that I can > see if it is the latest version? I can't seem to find that. > > On Jun 7, 2007, at 1:08 PM, Ralph Douglass wrote: > > > It highlights fine for me. Try grabbing the latest version of the > > bundle. > > > > On 6/7/07, Jonathan Bryant wrote: > > On Jun 7, 2007, at 11:21 AM, William D. Neumann wrote: > > > > > 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. > > > > Copy this into TextMate: > > > > type t = { > > x : int; > > y : float > > } > > > > let _ = > > let r = { x = 1; y = 1.0 } in > > let r' = { r with x = 2 } in > > (* ... Syntax highlighting has stopped working here ... *) > > > > That's where it fails because of the "with". It's the only obvious > > bug I've run across, but if you have something like that early in the > > code, the rest of your code is not highlighted. Maybe I have an old > > version of the bundle if you don't see this problem. > > > > > > > >> 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 > > > > > > _______________________________________________ > > > Caml-list mailing list. Subscription management: > > > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > > > Archives: http://caml.inria.fr > > > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > > > Bug reports: http://caml.inria.fr/bin/caml-bugs > > > > _______________________________________________ > > Caml-list mailing list. Subscription management: > > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > > Archives: http://caml.inria.fr > > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > > Bug reports: http://caml.inria.fr/bin/caml-bugs > > > > > > > > -- > > Ralph > > _______________________________________________ > > Caml-list mailing list. Subscription management: > > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > > Archives: http://caml.inria.fr > > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > > Bug reports: http://caml.inria.fr/bin/caml-bugs > > -- Ralph ------=_Part_17870_22930004.1181237629773 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I'm not sure, but I recommend getting it from subversion.  I had problems with it when I used getbundle, so I went back to checking out the bundles with subversion.  You might also want to install cmigrep (it's in godi) in order to use the ocaml experimental completions bundle.

On 6/7/07, Jonathan Bryant <jtbryant@valdosta.edu> wrote:
(I guess this is getting a bit off topic for this list, but I'll
press on anyway)

I just did with GetBundle and I'm still having the same problem.  Is
there any way to tell what version of the bundle I have so that I can
see if it is the latest version?  I can't seem to find that.

On Jun 7, 2007, at 1:08 PM, Ralph Douglass wrote:

> It highlights fine for me.  Try grabbing the latest version of the
> bundle.
>
> On 6/7/07, Jonathan Bryant <jtbryant@valdosta.edu > wrote:
> On Jun 7, 2007, at 11:21 AM, William D. Neumann wrote:
>
> > 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.
>
> Copy this into TextMate:
>
> type t = {
> x : int;
> y : float
> }
>
> let _ =
>    let r = { x = 1; y = 1.0 } in
>    let r' = { r with x = 2 } in
>    (* ... Syntax highlighting has stopped working here ... *)
>
> That's where it fails because of the "with".  It's the only obvious
> bug I've run across, but if you have something like that early in the
> code, the rest of your code is not highlighted.  Maybe I have an old
> version of the bundle if you don't see this problem.
>
> >
> >> 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
> >
> > _______________________________________________
> > Caml-list mailing list. Subscription management:
> > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> > Archives: http://caml.inria.fr
> > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> > Bug reports: http://caml.inria.fr/bin/caml-bugs
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>
>
>
> --
> Ralph
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs




--
Ralph ------=_Part_17870_22930004.1181237629773--