[slime-devel] Slime + ecb mode

Andrew Stebakov astebakov at yahoo.com
Mon Mar 14 22:20:38 UTC 2005


Hi, 
I started to walk through Peter Seibel's Practical
Lisp examples.
I found that I can't execute the following code from
the editor using (C-x C-e) commands.

(defvar *db* nil)
(defun make-cd (title artist rating ripped)
  (list :title title :artist artist :rating rating
:ripped ripped))

(defun add-record (cd) (push cd *db*))
(add-record (make-cd "Roses" "Kathy Mattea" 7 t))
(add-record (make-cd "Fly" "Dixie Chicks" 8 t))
(add-record (make-cd "Home" "Dixie Chicks" 9 t))

The reason for that (I think) is that when I add a
second record it tries to put two lines in the
mini-buffer, when I add a third record it breaks the
whole layout of ecb and loses the connection with
slime. Same happens if I do all add-records from REPL
but only evaluate *db* from the editor. 
I found out that if I issue C-u C-x C-e than the
output goes in REPL window which is fine.

I need a help to understand what I am facing here.
Is this a correct behavior or some bug?
Is it an ECB or SLIME bug?

I pasted and evaluated the same code from my XEmacs
scratch buffer and it prints the output from adding
records in one long line (as opposed to multiple lines
with Slime).

Any help is greatly appreciated!

Andrew

I am not sure 


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 



More information about the slime-devel mailing list