Version française
Home     About     Download     Resources     Contact us    
Browse thread
new emacs tuareg mode release
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jacques Garrigue <garrigue@m...>
Subject: Re: [Caml-list] new emacs tuareg mode release
From: Eliot Handelman <eliot@colba.net>
> Tom Hutchinson wrote:
>> I would be most interested to hear answers to this e-mail.
>>
>> I too have wondered about the differences between tuareg mode and caml
>> mode.
>>   
> One of the major differences I found (emacs 22.3.1) were persistent
> screwups involving comments. For
> example font-lock didn't work on multiline comments. This gave all
> comments an ugly random
> colorization. I was very happy to discover this had been fixed in
> tuareg.

This has been fixed in caml-mode long ago too.
I think the main difference is that ocaml-mode is based on very old
code, developped originally for caml-light, and was it emacs 18 at
that time. It contained various hacks to make it faster, with some bad
side effects at times. Overall the bugs have been corrected, but this
is probably the case that at one point tuareg mode was more stable.

I'm not going to suggest that tuareg mode switch to the ocaml-mode
code base, because I think that actually the tuareg code is cleaner.
However, for various historical reasons the two code bases are
developped in parallel, with some reasonable amount of sharing, so
I see no real problem with the current situation.

Jacques Garrigue