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

* Re: Babel prolog not working
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas S. Dye @ 2017-01-26  2:38 UTC (permalink / raw)
  To: Lawrence Bottorff; +Cc: emacs-orgmode Mailinglist

Aloha Lawrence,

Lawrence Bottorff writes:

> 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."

Perhaps you could also open an issue with the ob-prolog developer:
https://github.com/ljos/ob-prolog

One way to report "findings" is the Babel languages page on Worg:
http://orgmode.org/worg/org-contrib/babel/languages.html

That page could always use more love.

All the best,
Tom

--
Thomas S. Dye
http://www.tsdye.com

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

* Re: Babel prolog not working
  2017-01-26  2:38 ` Thomas S. Dye
@ 2017-01-26  3:39   ` Lawrence Bottorff
  0 siblings, 0 replies; 3+ messages in thread
From: Lawrence Bottorff @ 2017-01-26  3:39 UTC (permalink / raw)
  To: emacs-orgmode Mailinglist

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

I did an issue at https://github.com/ljos/ob-prolog.

On Wed, Jan 25, 2017 at 9:38 PM, Thomas S. Dye <tsd@tsdye.com> wrote:

> Aloha Lawrence,
>
> Lawrence Bottorff writes:
>
> > 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."
>
> Perhaps you could also open an issue with the ob-prolog developer:
> https://github.com/ljos/ob-prolog
>
> One way to report "findings" is the Babel languages page on Worg:
> http://orgmode.org/worg/org-contrib/babel/languages.html
>
> That page could always use more love.
>
> All the best,
> Tom
>
> --
> Thomas S. Dye
> http://www.tsdye.com
>

[-- Attachment #2: Type: text/html, Size: 2735 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).