From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: lisp babel
Date: Tue, 12 Apr 2016 14:37:35 -0400 [thread overview]
Message-ID: <8737qqad1s.fsf@alphaville.usersys.redhat.com> (raw)
In-Reply-To: loom.20160412T192055-439@post.gmane.org
Colin Baxter <m43cap@yandex.com> writes:
> 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.
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
next prev parent reply other threads:[~2016-04-12 18:37 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
2016-04-12 18:37 ` Nick Dokos [this message]
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8737qqad1s.fsf@alphaville.usersys.redhat.com \
--to=ndokos@gmail.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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).