From: Lawrence Bottorff <borgauf@gmail.com>
To: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: Babel prolog not working
Date: Wed, 25 Jan 2017 21:08:00 -0500 [thread overview]
Message-ID: <CAFAhFSXjig22dNfsbgRR47B0qNRJm62puZqA6iivEMzCND11Bw@mail.gmail.com> (raw)
[-- 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 --]
next reply other threads:[~2017-01-26 2:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-26 2:08 Lawrence Bottorff [this message]
2017-01-26 2:38 ` Babel prolog not working Thomas S. Dye
2017-01-26 3:39 ` Lawrence Bottorff
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAFAhFSXjig22dNfsbgRR47B0qNRJm62puZqA6iivEMzCND11Bw@mail.gmail.com \
--to=borgauf@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).