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
[Caml-list] XEmacs or GNU Emacs?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-08-09 (11:09)
From: John Hughes <jfh@c...>
Subject: RE: [Caml-list] XEmacs or GNU Emacs?

As I've mentioned, we use ML (or variants) in teaching the second half
a 3-month introduction to computer science. The first half is in
(using DrScheme, which has a nice builtin editor/evaluator, so the
issue of choosing an environment gets simple). 

This year we're going to use OCaml. That probably means teaching
them Emacs, but since many of them will work on WinXP platforms
at home (but use Linux while at school),
I'm not thrilled about using XEmacs (at least not in the mode
where it wants to fire up an X server on the windows box, etc.). 

So the setup I'm thinking of looks like this:

Ocaml 3.07: compiled from sources under Linux, 
            Cygwin port for XP, because we want to use the debugger

GNU Emacs + tuareg for both platforms

ocamldebug on both platforms

Two questions: 

* Does this sound reasonable to you experts? 

* Does anyone else out there wish that ml mode in Emacs had a "kill
current ML process and restart a fresh one, and then evaluate my
buffer in that new, fresh, clean process?" 

Our students, when they first
learn about modules, get all screwed up by repeatedly evaluating a
description, and then finding that two objects that are apparently of 
type Foo cannot be assigned, compared, etc. (Under MOSML and SML/NJ,
issue led to some of the most cryptic error messages I've ever

I hacked this up in ML-mode a few years ago, and my students loved it.

If the rest of the world would actually benefit from it, I'll do it
in Tuareg mode and pass it back to the maintainers...

---John Hughes

> -----Original Message-----
> From: 
> [] On Behalf Of Benjamin
> Sent: Monday, August 09, 2004 11:46 AM
> To: caml
> Subject: Re: [Caml-list] XEmacs or GNU Emacs?
> Jérôme Marant wrote:
> >>A slight advantage might be that the XEmacs package 
> collection comes 
> >>with the O'Caml mode.
> > 
> > Which is very outdated and unmaitained.
> I've been very happy with tuareg mode:
> Ben
> -------------------
> To unsubscribe, mail Archives: 
> Bug reports: 
> FAQ: 
> Beginner's list: 

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: