emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Babel prolog not working
@ 2017-01-26  2:08 Lawrence Bottorff
  2017-01-26  2:38 ` Thomas S. Dye
  0 siblings, 1 reply; 3+ messages in thread
From: Lawrence Bottorff @ 2017-01-26  2:08 UTC (permalink / raw)
  To: emacs-orgmode Mailinglist

[-- Attachment #1: Type: text/plain, Size: 1032 bytes --]

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
[likes.pl].
#+END_SRC

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
‘ob-prolog.el’.
(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."

LB

[-- Attachment #2: Type: text/html, Size: 1496 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-01-26  3:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-26  2:08 Babel prolog not working Lawrence Bottorff
2017-01-26  2:38 ` Thomas S. Dye
2017-01-26  3:39   ` Lawrence Bottorff

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).