From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lawrence Bottorff Subject: Babel prolog not working Date: Wed, 25 Jan 2017 21:08:00 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113de104927b2c0546f5d150 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50330) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cWZTm-0000tC-Ou for emacs-orgmode@gnu.org; Wed, 25 Jan 2017 21:08:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cWZTl-0004YC-IX for emacs-orgmode@gnu.org; Wed, 25 Jan 2017 21:08:02 -0500 Received: from mail-oi0-x236.google.com ([2607:f8b0:4003:c06::236]:36169) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cWZTl-0004Y1-EA for emacs-orgmode@gnu.org; Wed, 25 Jan 2017 21:08:01 -0500 Received: by mail-oi0-x236.google.com with SMTP id u143so128385912oif.3 for ; Wed, 25 Jan 2017 18:08:01 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode Mailinglist --001a113de104927b2c0546f5d150 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 =E2=80=98ob-prolog.el=E2=80=99. (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 --001a113de104927b2c0546f5d150 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On my original system, as well on a built-from-scratch sys= tem, 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= =C2=A020170102.953, and prolog (major mode) 1.22. Anything I put in a code = block, e.g.,=C2=A0

#+BEGIN_SRC prolog
#+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=C2=A0

org-babel-variable-assignments:prolog is a compi= led Lisp function in
=E2=80=98ob-prolog.el=E2=80=99.
(o= rg-babel-variable-assignments:prolog PARAMS)
Not documented.<= br>

. . . and I found it in=C2=A0https://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&#= 39; babel capabilities -- and reporting my "findings."
=
LB
--001a113de104927b2c0546f5d150-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: Re: Babel prolog not working Date: Wed, 25 Jan 2017 16:38:48 -1000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56065) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cWa3y-0008Jl-US for emacs-orgmode@gnu.org; Wed, 25 Jan 2017 21:45:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cWa3v-0006Hs-Si for emacs-orgmode@gnu.org; Wed, 25 Jan 2017 21:45:26 -0500 Received: from gproxy1-pub.mail.unifiedlayer.com ([69.89.25.95]:46318) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cWa3v-0006HT-LF for emacs-orgmode@gnu.org; Wed, 25 Jan 2017 21:45:23 -0500 Received: from cmgw2 (cmgw3 [10.0.90.83]) by gproxy1.mail.unifiedlayer.com (Postfix) with ESMTP id 3BD271773AD for ; Wed, 25 Jan 2017 19:39:00 -0700 (MST) In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" 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 pr= olog > won't work for me. I've got latest swi-prolog 7.4.0 installed, along wi= th > Emacs 25.1.1, and org 9.0.4, along with ob-prolog 20170102.953, and pro= log > (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 > =E2=80=98ob-prolog.el=E2=80=99. > (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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lawrence Bottorff Subject: Re: Babel prolog not working Date: Wed, 25 Jan 2017 22:39:55 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1134fa546bec5d0546f71a62 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36638) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cWaul-00033S-VK for emacs-orgmode@gnu.org; Wed, 25 Jan 2017 22:40:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cWauk-0004lc-N1 for emacs-orgmode@gnu.org; Wed, 25 Jan 2017 22:40:00 -0500 Received: from mail-oi0-x22f.google.com ([2607:f8b0:4003:c06::22f]:36684) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cWauk-0004lQ-Gv for emacs-orgmode@gnu.org; Wed, 25 Jan 2017 22:39:58 -0500 Received: by mail-oi0-x22f.google.com with SMTP id u143so129253773oif.3 for ; Wed, 25 Jan 2017 19:39:58 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode Mailinglist --001a1134fa546bec5d0546f71a62 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I did an issue at https://github.com/ljos/ob-prolog. On Wed, Jan 25, 2017 at 9:38 PM, Thomas S. Dye 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 wi= th > > 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 > > =E2=80=98ob-prolog.el=E2=80=99. > > (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 > --001a1134fa546bec5d0546f71a62 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I did an issue at=C2=A0https://github.com/ljos/ob-prolog.

On Wed, Jan 25, 2017 at 9:38 PM, Thom= as S. Dye <tsd@tsdye.com> wrote:
Aloha Lawrence,

Lawrence Bottorff writes:

> On my original system, as well on a built-from-scratch system, babel p= rolog
> 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 pr= olog
> (major mode) 1.22. Anything I put in a code block, e.g.,
>
> #+BEGIN_SRC prolog
> [like= s.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
> =E2=80=98ob-prolog.el=E2=80=99.
> (org-babel-variable-assignments:prolog PARAMS)
> Not documented.
>
> . . . and I found it in
> https://github.com/ljos/ob-prolo= g/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/bab= el/languages.html

That page could always use more love.

All the best,
Tom

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

--001a1134fa546bec5d0546f71a62--