
August 9th, 2006, 09:42 AM
|
|
Registered User
|
|
Join Date: Apr 2006
Location: Newcastle, Australia
Posts: 11
Time spent in forums: 3 h 6 m 35 sec
Reputation Power: 0
|
|
|
Enabling REPL and Slime in Emacs
I am setting up emacs to use SBCL and slime to program lisp. I can't quite get my .macs set up correctly. I have it set up and slime working well but I cannot access REPL from Emacs C-c C-z it says Lisp not available.
So SBCL as itself must not be linked to emacs to use.
This is my .macs directory
Quote: | ;; .emacs ;;; uncomment this line to disable loading of "default.el" at startup ;; (setq inhibit-default-init t) ;; turn on font-lock mode (when (fboundp 'global-font-lock-mode) (global-font-lock-mode t)) ;; enable visual feedback on selections ;(setq transient-mark-mode t) ;; default to better frame titles (setq frame-title-format (concat "%b - emacs@" (system-name))) ;; default to unified diffs (setq diff-switches "-u") ;; always end a file with a newline ;(setq require-final-newline 'query) (setq inferior-lisp-program "sbcl") (require 'slime) (slime-setup) (setq load-path (cons "/usr/local/acl80_express/eli" load-path)) (load "fi-site-init") |
After some reading I tried adding this to my emacs to enabl SBCL REPL. Quote: | ;;; The following is for Lisp ;;; The SBCL binary and command line arguments (require 'inf-lisp) (setq inferior-lisp-program ''/usr/local/bin/sbcl --noinform'') | But this doesn't work I receive an error Quote: | An error has occurred while loading home/flebber/.emacs Invalid read Syntax : ")" |
Any ideas how to allow to configure sbcl for .emacs ?
PS As an aside I also in response to another post have installed "gcl". If this is easier to setup for REPL and slime, I am interested.
Last edited by flebber : August 9th, 2006 at 09:50 AM.
Reason: extra info
|