I install slime through ELPA. Here is what my .emacs file looks like:
(setq inferior-lisp-program "sbcl --noinform")
(add-to-list 'load-path "~/slime/")
(require 'slime)
(slime-setup)
(setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/ ")
("marmalade" . "http://marmalade-repo.org/packages/ ")
("melpa" . "http://melpa.milkbox.net/packages/ ")))
I get the following error when I start emacs:
> Warning (initialization): An error occurred while loading
> `/home/name/.emacs':
>
> File error: Cannot open load file, slime
>
> To ensure normal operation, you should investigate and remove the
> cause of the error in your initialization file. Start Emacs with the
> `--debug-init' option to view a complete error backtrace.
When I debug:
Debugger entered--Lisp error: (file-error "Cannot open load file" "slime")
require(slime)
eval-buffer(# nil "/home/name/.emacs" nil t) ; Reading at buffer position 91
load-with-code-conversion("/home/name/.emacs" "/home/name/.emacs" t t)
load("~/.emacs" t t)
#[0 "\205\262
When I visit ~/.emacs.d/elpa/slime-20130308.1112, slime.el is clearly there. Other people online seem to be having issues too. If I cannot get it to work with emacs24, how can I setup a slime environment for common lisp?
Asked by anonymous
(173 rep)
Mar 9, 2013, 03:41 AM
Last activity: Nov 13, 2013, 07:46 PM
Last activity: Nov 13, 2013, 07:46 PM