[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help on Slime
From: |
Thierry Volpiatto |
Subject: |
Re: Help on Slime |
Date: |
Mon, 24 Mar 2008 09:18:48 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Lorenzo Isella <lorenzo.isella@gmail.com> writes:
> Dear All,
> I am completely new to LISP (I want to learn it out of curiosity and
> maybe one day it will be useful to me) and surely not very experienced
> about using emacs.
> I am running Debian testing on my box and installed both emacs and
> slime from Debian repositories.
> I am a bit puzzled: if I create a file test.lisp with the trivial content:
>
> (+ 1 2)
>
> and then I load it then both the lisp mode and slime mode are
> automatically enabled.
> However, if I try positioning the cursor and using C-x C-e I get the
> message
>
> Not connected.
>
> If I disable the slime (M-x slime-mode), then C-x C-e returns the
> obvious value 3.
> What am I doing wrong? What I am seeing does not look much like the
> video at:
>
> http://www.unixuser.org/~euske/vnc2swf/slime.html
>
> In case it matters, I can post the .emacs file I am using.
> Many thanks
>
> Lorenzo
>
>
>
First you have to start slime with M-x slime RET.
Then you can do on your file M-x slime-eval-buffer RET.
Or M-x slime-eval-last-expression RET (with-point at the end of sexp)
(C-x C-e)
You will have the result in mini-buffer.
--
A + Thierry
Pub key: http://pgp.mit.edu