[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] lisp babel
Re: [O] lisp babel
Tue, 12 Apr 2016 17:33:28 +0000 (UTC)
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
> >> 188.8.131.52.
> > 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.
> 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")
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")))
call-interactively(org-ctrl-c-ctrl-c nil nil)
Re: [O] lisp babel, John Kitchin, 2016/04/11