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