Hi Eric, Eric Schulte wrote: > Alan Schmitt <alan.schm...@polytechnique.org> writes: >> I have found the problem: I was missing a new line at the end of the >> #+END_SRC. >> >> Unfortunately the evaluation of the code does not work with recent >> tuareg. I first had to add: >> >> (defalias 'tuareg-run-caml 'tuareg-run-ocaml) >> >> to my configuration file. >> >> But even with this it gets stuck saying "executing Ocaml code >> block..." until I ctrl-G it. I'll try to see what is happening. Any >> suggestion as how to debug this? > > I would recommend evaluating first org-babel-execute:ocaml then possibly > org-babel-prep-session:ocaml in "edebug" mode. This can be done by > running `eval-defun' on these functions with a prefix argument, or > equivalently doing "M-: (eval-defun t)".
Or, even shorted, C-u C-M-x with point somewhere in the defun. Best regards, Seb -- Sebastien Vauban