From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.help Subject: Re: Help on Slime Date: Mon, 24 Mar 2008 09:18:48 +0100 Message-ID: <878x08r0uv.fsf@thievol.homelinux.org> References: <47E6F00A.5010405@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1206352932 23606 80.91.229.12 (24 Mar 2008 10:02:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Mar 2008 10:02:12 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Lorenzo Isella Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 24 11:02:41 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JdjVh-0004Ad-Hr for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Mar 2008 11:02:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JdjV6-0007b2-N7 for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Mar 2008 06:01:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JdjUl-0007aZ-Ac for help-gnu-emacs@gnu.org; Mon, 24 Mar 2008 06:01:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JdjUk-0007aN-MM for help-gnu-emacs@gnu.org; Mon, 24 Mar 2008 06:01:34 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JdjUk-0007aK-Ib for help-gnu-emacs@gnu.org; Mon, 24 Mar 2008 06:01:34 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JdjUk-0003It-8H for help-gnu-emacs@gnu.org; Mon, 24 Mar 2008 06:01:34 -0400 Original-Received: from fg-out-1718.google.com ([72.14.220.157]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jdhfu-00019h-8v for help-gnu-emacs@gnu.org; Mon, 24 Mar 2008 04:04:58 -0400 Original-Received: by fg-out-1718.google.com with SMTP id d23so2649204fga.30 for ; Mon, 24 Mar 2008 01:04:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:to:cc:subject:references:date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=dZokKw33e5EMcKLW9uYH5gMgdM+PRZlAKI1z7lG+yj8=; b=cgvz2TkGImG4GOncJMKG26ILd4H221JLn8PrLp3WsD/K7+7b3PVWAlYUHCMSX6uo3UXjGCzej9PGK7jlY+l7Bv1LDBz5AWk1B55+8UoCHwyrPrO1ysjp2l9iP3rRvFCfSOzueojklucZJYpx4GXCFcoqZl6YJs+Vqa1ZzThY/OM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=from:to:cc:subject:references:date:in-reply-to:message-id:user-agent:mime-version:content-type; b=Z+8RETFAOuh2PtsYA5cCH86CYv6DfxGjxWa3xOq8Xq/wgcVX9uc11kQM1MXiiMrrkh03xnaXxlnD3NEsyHUklTQZNa+xHDq81JKcsg+ZS49b631xDDrSx5PK2WQ+C+kvbK8WchXy1c2XSjd7ixO0oumbZi4iTrJA7pGVR4hfCV8= Original-Received: by 10.82.121.15 with SMTP id t15mr16577251buc.31.1206345896477; Mon, 24 Mar 2008 01:04:56 -0700 (PDT) Original-Received: from thievol.homelinux.org ( [77.197.77.2]) by mx.google.com with ESMTPS id b17sm10273686fka.4.2008.03.24.01.04.54 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 24 Mar 2008 01:04:55 -0700 (PDT) In-Reply-To: <47E6F00A.5010405@gmail.com> (Lorenzo Isella's message of "Mon, 24 Mar 2008 01:04:26 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:52665 Archived-At: Lorenzo Isella 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