emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Eric Schulte" <schulte.eric@gmail.com>
To: Erik Iverson <eriki@ccbr.umn.edu>
Cc: Emacs-orgmode@gnu.org
Subject: Re: [Orgmode] [babel] some lisp/slime progress
Date: Thu, 31 Mar 2011 00:37:49 -0600	[thread overview]
Message-ID: <87sju3okw2.fsf@gmail.com> (raw)
In-Reply-To: <8762qzq0js.fsf@gmail.com> (Eric Schulte's message of "Thu, 31 Mar 2011 00:14:15 -0600")

[-- Attachment #1: Type: text/plain, Size: 281 bytes --]

This newly attached version includes some slight improvements over the
previous, namely,

- support for declaring the CL package in which evaluation takes place
- support for the ":results output" header argument
- and better handling of non-elisp-parsable results.

Best -- Eric


[-- Attachment #2: ob-lisp.el --]
[-- Type: application/emacs-lisp, Size: 2621 bytes --]

[-- Attachment #3: Type: text/plain, Size: 1279 bytes --]


"Eric Schulte" <schulte.eric@gmail.com> writes:

> Hi Erik,
>
> I've had an opportunity to return to Babel support for common lisp
> recently.  I just copied over the existing ob-clojure.el file to
> ob-lisp.el and changed the clojure/swank specific parts.  The resulting
> file seems to work after some initial tests and is exceedingly simple.
>
> If this works for you as well, then I'd propose replacing the existing
> ob-lisp.el with this new implementation.
>
> Please let me know what you think.
>
> Thanks -- Eric
>
>
>
> Erik Iverson <eriki@ccbr.umn.edu> writes:
>
>>> Then, things like the following work, where I assume you've already
>>> started M-x slime.
>>>
>>> #+begin_src emacs-lisp :session
>>>
>>> (defvar test1 "test1 value")
>>> (defvar test2 "test2 value")
>>> test2
>>>
>>> #+end_src
>>>
>>> #+results:
>>> : test2 value
>>
>> Er, not emacs-lisp, just lisp... like the following
>>
>> #+begin_src lisp :session
>>
>> (defvar test1 "test1 value")
>> (defvar test2 "test2 value")
>> test2
>>
>> #+end_src
>>
>> #+results:
>> : test2 value
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Please use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2011-03-31  6:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-21  2:22 [babel] some lisp/slime progress Erik Iverson
2011-02-21  2:28 ` Erik Iverson
2011-03-31  6:14   ` [Orgmode] " Eric Schulte
2011-03-31  6:37     ` Eric Schulte [this message]
2011-02-21 17:02 ` Eric Schulte

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=87sju3okw2.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=Emacs-orgmode@gnu.org \
    --cc=eriki@ccbr.umn.edu \
    /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).