From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: ocaml babel no longer works? Date: Sat, 09 Feb 2013 13:06:44 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:38394) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U49Cj-0001Tj-58 for emacs-orgmode@gnu.org; Sat, 09 Feb 2013 07:06:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U49Ci-0007iT-1H for emacs-orgmode@gnu.org; Sat, 09 Feb 2013 07:06:49 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:38680) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U49Ch-0007h6-R1 for emacs-orgmode@gnu.org; Sat, 09 Feb 2013 07:06:47 -0500 In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode Alan Schmitt writes: > Hello, > > I recently updated org-mode (from git), and ocaml source code is no > longer recognized. If I have a very simple file, like this: > > #+BEGIN_SRC ocaml > let x = 2 in x > #+END_SRC > > I don't get syntax highlighting, and trying to evaluate it result in an > error: > > Evaluate this ocaml code block on your system? (y or n) y > executing Ocaml code block... > face-spec-choose: Wrong type argument: listp, class 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? Thanks, Alan