From: Lawrence Bottorff <borgauf@gmail.com>
To: Bjarte Johansen <bjarte.johansen@infomedia.uib.no>,
emacs-orgmode@gnu.org
Subject: Re: org-babel for prolog
Date: Sat, 16 May 2015 09:00:22 -0400 [thread overview]
Message-ID: <CAFAhFSVWErXD7j8GP7RSYO2aNQQTuoM_9+JReSd30VD88+HxvQ@mail.gmail.com> (raw)
In-Reply-To: <38284347-6B57-4A67-A48C-5A6FA1D48160@infomedia.uib.no>
[-- Attachment #1: Type: text/plain, Size: 1346 bytes --]
I'm just a Prolog beginner, but this:
#+begin_src prolog
edge(a,b).
edge(a,e).
edge(b,d).
edge(b,c).
edge(c,a).
edge(e,b).
tedge(Node1,Node2) :-
edge(Node1,SomeNode),
edge(SomeNode,Node2).
#+end_src
keeps giving me this:
executing Prolog code block...
executing Prolog source code block
org-babel-execute:prolog: Wrong type argument: char-or-string-p, ni
BTW, should it be
(eval-after-load 'org
'(require 'ob-prolog))
or
(eval-after-load "org"
'(require 'ob-prolog))
. . . org in quotes?
On Thu, May 14, 2015 at 5:03 PM, Bjarte Johansen <
bjarte.johansen@infomedia.uib.no> wrote:
>
> > On 14 May 2015, at 20:22, Puneeth Chaganti <punchagan@gmail.com> wrote:
> >
> > On Thu, May 14, 2015 at 11:41 PM, Lawrence Bottorff <borgauf@gmail.com>
> wrote:
> >>
> >> Confused by the requirement:
> >>
> >> ;; To activate ob-prolog add the following to your init.el file:
> >> ;;
> >> ;; (eval-after-load 'org
> >> ;; '(require 'org-prolog))
> >
> >
> > I'm guessing its a typo and should be ob-prolog. The file provides
> ob-prolog.
>
> Yes, I typed it wrong. Thank you for bringing it to my attention. I also
> discovered that it is better to use `org-babel-do-load-languages’ instead
> as well. I will change the recommendation tomorrow.
>
> Regards,
> Bjarte
[-- Attachment #2: Type: text/html, Size: 2285 bytes --]
next prev parent reply other threads:[~2015-05-16 13:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-10 17:20 org-babel for prolog Bjarte Johansen
2014-12-19 15:25 ` Bjarte Johansen
2015-01-02 13:29 ` Bjarte Johansen
2015-05-14 18:11 ` Lawrence Bottorff
2015-05-14 18:22 ` Puneeth Chaganti
2015-05-14 21:03 ` Bjarte Johansen
2015-05-16 13:00 ` Lawrence Bottorff [this message]
[not found] ` <B34606FC-7BF5-48A8-A3D1-82B6A1913C16@infomedia.uib.no>
2015-05-16 13:31 ` Lawrence Bottorff
2015-05-17 12:59 ` Bjarte Johansen
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=CAFAhFSVWErXD7j8GP7RSYO2aNQQTuoM_9+JReSd30VD88+HxvQ@mail.gmail.com \
--to=borgauf@gmail.com \
--cc=bjarte.johansen@infomedia.uib.no \
--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).