Swank-clojure: slime-eval-print-last-expression failing.

2008-10-19 Thread Luke Hope
Hello, I am a common lisp programmer and I use Slime extensively. I am looking into using Clojure for an upcoming project (I have experience with ABCL, but it is too slow) and I have clojure and swank-clojure installed. Unfortunately slime-eval-print-last-expression (C-j in *slime-scratch*) is f

Re: Swank-clojure: slime-eval-print-last-expression failing.

2008-10-20 Thread Luke Hope
below function in a separate file. (defslimefn eval-and-grab-output [string] (with-emacs-package (with-local-vars [retval nil] (list (with-out-str (var-set retval (pr-str (first (eval-region string) (var-get retval) On Mon, Oct 20, 2008 at 10:18 AM,

(in-ns 'foo) support for clj buffers in slime.

2008-10-20 Thread Luke Hope
Hi all, Adding the below to your .emacs will make slime change packages correctly according to (in-ns 'foo). All I did was alter slime-search-buffer-package in slime.el to create slime-search-buffer-package-clojure. The standard common-lisp patterns are still valid. Something like this could g