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] camldebug with emacs
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Ian Zimmerman <itz@s...>
Subject: Re: [Caml-list] camldebug with emacs

Johann> I am trying to get camldebug to work with emacs.  According to
Johann> the manual it is about the easiest way to do it.

Johann> But, what I read in the manual, does not work with emacs.
Johann> According to the tuareg manual I should be able to do the
Johann> following:

Johann> `M-x camldebug' FILE starts the Caml debugger camldebug on the
Johann> executable FILE, with input and output in an Emacs buffer
Johann> named *camldebug-FILE*.

Johann> But I am not able to type in a file name with M-x camldebug.
Johann> I can only type in M-x camldebug, M-x camldebug-mode or M-x
Johann> camldebug-step and if I choose the first or last one I get:
Johann> Symbol function definition is void: camldebug-call or Symbol
Johann> function definition is void: camldebug-mode-map.

Johann> What am I missing or is this a bug in tuareg mode?

It works fine for me with the normal caml-mode.  (I should know,
because I wrote it :)  Admittedly, this is still 3.01.

I guess what you see is a "minor incompatibility" with Tuareg.  I
don't think the ocaml maintainers can be bothered documenting how a
contributed piece of Emacs code that isn't part of the distribution
works.  I think you have to take this up with Tuareg's author.

Ian Zimmerman, Oakland, California, U.S.A.
GPG: 433BA087  9C0F 194F 203A 63F7 B1B8  6E5A 8CA3 27DB 433B A087
In his own soul a man bears the source
from which he draws all his sorrows and his joys.
Bug reports:  FAQ:
To unsubscribe, mail  Archives: