Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Other Programming Languages (http://www.programmingforums.org/forum38.html)
-   -   Basic .emacs question (http://www.programmingforums.org/showthread.php?t=11039)

flebber Aug 11th, 2006 8:10 AM

Basic .emacs question
 
Hi

Hoping for help with something basic my .emacs set up for SBCL in emacs. I have slime working in emacs using sbcl and sbcl works in a terminal. But I cannot however get REPL access for SBCL via emacs.

Can anyone shed some light on this or show me a working .emacs where this is set up ? I have tried several combo's off articles on the web but no joy.

Jessehk Aug 11th, 2006 11:45 AM

The only version of CL I got working with SLIME is CMUCL:

:

sudo aptitude update
sudo aptitude install cmucl


Edit your .emacs to reflect the changes. Mine is like this:
:

  1. (setq inferior-lisp-program "/path/to/lisp/executable")
  2. (add-to-list 'load-path "/path/to/slime/installation")
  3. (require 'slime)
  4. (slime-setup)


Then start up emacs and type:

:

M-x slime

where M is the Alt key and x is the letter x.

to start SLIME.


All times are GMT -5. The time now is 12:48 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC