From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: lisp babel Date: Mon, 11 Apr 2016 15:08:47 -0400 Message-ID: <87shysyncw.fsf@alphaville.usersys.redhat.com> References: <87egac16pc.fsf@alphaville.usersys.redhat.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60633) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aphCn-0008Me-HG for emacs-orgmode@gnu.org; Mon, 11 Apr 2016 15:09:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aphCi-0000Av-DT for emacs-orgmode@gnu.org; Mon, 11 Apr 2016 15:09:01 -0400 Received: from plane.gmane.org ([80.91.229.3]:38096) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aphCi-0000Aq-5W for emacs-orgmode@gnu.org; Mon, 11 Apr 2016 15:08:56 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aphCh-0003tO-0Q for emacs-orgmode@gnu.org; Mon, 11 Apr 2016 21:08:55 +0200 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 11 Apr 2016 21:08:54 +0200 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 11 Apr 2016 21:08:54 +0200 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@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Nick Dokos writes: > Colin Baxter writes: > >> Common Lisp in babel steems to have stopped working. With slime >> running and (lisp . t) in my emacs init, I now get the error >> >> org-babel-execute:lisp: Cannot open load file: No such file or >> directory, sly >> >> when I C-cc >> >> #+name: hello-world #+header: :var message="Hello World!" :exports >> both #+begin_src lisp >> (princ message) #+end_src >> >> In the past, it worked. I thought either slime or sly were needed. >> >> I'm using org version release_8.3.4-718-g634e12.dirty and GNU Emacs >> 25.1.50.1. > > commit d79835a821f24fdc32a0f46630f1b31c58fbbb4a introduced a new > variable: > > ,---- > | org-babel-lisp-eval-fn is a variable defined in ‘ob-lisp.el’. Its value > | is "sly-eval" > `---- > > You can try setting it to "slime-eval", but it should probably default > to "slime-eval". > > There is a typo in the documentation for this variable: > > "slime-val" -> "slime-eval". > Patch for the typo is attached. -- Nick --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Fix-typo-in-doc-string.patch Content-Description: Fix typo in org-babel-lisp-eval-fn doc string. >From 34d7e1f52008c303ae48fce88efacfbe21859b5a Mon Sep 17 00:00:00 2001 From: Nick Dokos Date: Mon, 11 Apr 2016 15:05:35 -0400 Subject: [PATCH] Fix typo in doc string. --- lisp/ob-lisp.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ob-lisp.el b/lisp/ob-lisp.el index 0ed4d84..443a78d 100644 --- a/lisp/ob-lisp.el +++ b/lisp/ob-lisp.el @@ -40,7 +40,7 @@ (defcustom org-babel-lisp-eval-fn "sly-eval" "The function to be called to evaluate code on the Lisp side. -It can be set to either \"sly-eval\" or \"slime-val\"." +It can be set to either \"sly-eval\" or \"slime-eval\"." :group 'org-babel :version "25.1" :package-version '(Org . "8.3") -- 2.7.0 --=-=-=--