From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: lisp babel
Date: Mon, 11 Apr 2016 15:08:47 -0400 [thread overview]
Message-ID: <87shysyncw.fsf@alphaville.usersys.redhat.com> (raw)
In-Reply-To: 87egac16pc.fsf@alphaville.usersys.redhat.com
[-- Attachment #1: Type: text/plain, Size: 1040 bytes --]
Nick Dokos <ndokos@gmail.com> writes:
> Colin Baxter <m43cap@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
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Fix typo in org-babel-lisp-eval-fn doc string. --]
[-- Type: text/x-patch, Size: 717 bytes --]
From 34d7e1f52008c303ae48fce88efacfbe21859b5a Mon Sep 17 00:00:00 2001
From: Nick Dokos <ndokos@redhat.com>
Date: Mon, 11 Apr 2016 15:05:35 -0400
Subject: [PATCH] Fix typo in doc string.
---
lisp/ob-lisp.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/ob-lisp.el b/lisp/ob-lisp.el
index 0ed4d84..443a78d 100644
--- a/lisp/ob-lisp.el
+++ b/lisp/ob-lisp.el
@@ -40,7 +40,7 @@
(defcustom org-babel-lisp-eval-fn "sly-eval"
"The function to be called to evaluate code on the Lisp side.
-It can be set to either \"sly-eval\" or \"slime-val\"."
+It can be set to either \"sly-eval\" or \"slime-eval\"."
:group 'org-babel
:version "25.1"
:package-version '(Org . "8.3")
--
2.7.0
next prev parent reply other threads:[~2016-04-11 19:09 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 [this message]
2016-04-12 17:33 ` Colin Baxter
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
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=87shysyncw.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).