emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] lisp babel


From: Colin Baxter
Subject: Re: [O] lisp babel
Date: Tue, 12 Apr 2016 17:33:28 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Nick Dokos <ndokos <at> gmail.com> writes:

> 
> Nick Dokos <ndokos <at> gmail.com> writes:
> 
> > Colin Baxter <m43cap <at> 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.
Here's the backtrace:

Debugger entered--Lisp error: (file-error "Cannot open load file" "No such
file or directory" "sly")
  require(sly)
  org-babel-execute:lisp("(princ message)" ((:var message . "Hello World!")
(:colname-names) (:rowname-names) (:result-params "replace") (:result-type .
value) (:comments . "") (:shebang . "") (:cache . "yes") (:padline . "")
(:noweb . "no") (:tangle . "no") (:exports . "code") (:results . "replace")
(:session . "none") (:hlines . "no")))
  org-babel-execute-src-block(nil)
  org-babel-execute-src-block-maybe()
  org-babel-execute-maybe()
  org-babel-execute-safely-maybe()
  run-hook-with-args-until-success(org-babel-execute-safely-maybe)
  org-ctrl-c-ctrl-c(nil)
  funcall-interactively(org-ctrl-c-ctrl-c nil)
  call-interactively(org-ctrl-c-ctrl-c nil nil)
  command-execute(org-ctrl-c-ctrl-c)

Colin.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]