emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] ocaml babel no longer works?


From: Sebastien Vauban
Subject: Re: [O] ocaml babel no longer works?
Date: Sat, 09 Feb 2013 22:17:38 +0100
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.93 (windows-nt)

Hi Eric,

Eric Schulte wrote:
> Alan Schmitt <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]