From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: lisp babel Date: Tue, 12 Apr 2016 14:37:35 -0400 Message-ID: <8737qqad1s.fsf@alphaville.usersys.redhat.com> References: <87egac16pc.fsf@alphaville.usersys.redhat.com> <87shysyncw.fsf@alphaville.usersys.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aq3CA-0004MV-KB for emacs-orgmode@gnu.org; Tue, 12 Apr 2016 14:37:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aq3C5-0001hy-ME for emacs-orgmode@gnu.org; Tue, 12 Apr 2016 14:37:50 -0400 Received: from plane.gmane.org ([80.91.229.3]:33531) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aq3C5-0001hm-GJ for emacs-orgmode@gnu.org; Tue, 12 Apr 2016 14:37:45 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aq3C3-0005no-CC for emacs-orgmode@gnu.org; Tue, 12 Apr 2016 20:37:43 +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 ; Tue, 12 Apr 2016 20:37:43 +0200 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Apr 2016 20:37:43 +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 Colin Baxter writes: > Nick Dokos gmail.com> writes: > >> >> Nick Dokos gmail.com> writes: >> >> > Colin Baxter yandex.com> 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 >> >> >> Attachment (0001-Fix-typo-in-doc-string.patch): text/x-patch, 717 bytes > > Everything works fine with org 8.2.10, but I'm still having problems with > release_8.3.4-718-g634e12. I've applied the attachment. I'm using > slime. To change the default evaluator back to slime, add (setq org-babel-lisp-eval-fn "slime-eval") to your init file somewhere. The patch only fixes the typo in the documentation; it does not change the default evaluator back to slime. Although I would probably vote to set the default value of the variable back to "slime", I'm not much of a CL user. People with more informed opinions than me might want to weigh in here. -- Nick