[O] Re: [Orgmode] [babel] some lisp/slime progress

2011-03-31 Thread Eric Schulte
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



ob-lisp.el
Description: application/emacs-lisp

Erik Iverson er...@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


[O] Re: [Orgmode] [babel] some lisp/slime progress

2011-03-31 Thread Eric Schulte
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



ob-lisp.el
Description: application/emacs-lisp

Eric Schulte schulte.e...@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 er...@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