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