From: Colin Baxter <m43cap@yandex.com>
To: emacs-orgmode@gnu.org
Subject: Re: lisp babel
Date: Tue, 12 Apr 2016 17:33:28 +0000 (UTC) [thread overview]
Message-ID: <loom.20160412T192055-439@post.gmane.org> (raw)
In-Reply-To: 87shysyncw.fsf@alphaville.usersys.redhat.com
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.
next prev parent reply other threads:[~2016-04-12 17:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-11 11:04 lisp babel Colin Baxter
2016-04-11 15:54 ` Nick Dokos
2016-04-11 19:08 ` Nick Dokos
2016-04-12 17:33 ` Colin Baxter [this message]
2016-04-12 18:37 ` Nick Dokos
2016-04-12 18:58 ` Thomas S. Dye
2016-04-12 20:14 ` Nicolas Goaziou
2016-04-12 20:13 ` Nicolas Goaziou
2016-04-11 16:01 ` John Kitchin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20160412T192055-439@post.gmane.org \
--to=m43cap@yandex.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.