[Top][All Lists]

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

[O] Babel prolog not working

From: Lawrence Bottorff
Subject: [O] Babel prolog not working
Date: Wed, 25 Jan 2017 21:08:00 -0500

On my original system, as well on a built-from-scratch system, babel prolog won't work for me. I've got latest swi-prolog 7.4.0 installed, along with Emacs 25.1.1, and org 9.0.4, along with ob-prolog 20170102.953, and prolog (major mode) 1.22. Anything I put in a code block, e.g., 

#+BEGIN_SRC prolog

results in (*Messages*)

executing Prolog code block...
executing Prolog source code block
org-babel-variable-assignments:prolog: Wrong number of arguments: (1 . 1), 2

Doing C-h f brings up 

org-babel-variable-assignments:prolog is a compiled Lisp function in
(org-babel-variable-assignments:prolog PARAMS)
Not documented.

. . . and I found it in https://github.com/ljos/ob-prolog/blob/master/ob-prolog.el, but can't fathom what is going wrong.

Regular, non-org prolog major mode interactions work fine.

I know I try everyone's patience on this list, but I'm trying out many different languages' babel capabilities -- and reporting my "findings."


reply via email to

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