From: ·········@gmail.com
Subject: Slime: 'while: Cannot open load file: asdf' Error
Date: 
Message-ID: <b5330390-9852-4885-9f61-f1933a0d96c6@l33g2000pri.googlegroups.com>
Hey guys. I have installed emacs, SBCL and slime but I cannot get
Slime to work in emacs. Everytime I try to load SLIME in emacs, I get
this message:

---

("D:\\Coding\\emacs-22.3\\bin\\emacs.exe")
Loading encoded-kb...done
Loading pc-select...done
Loading delsel...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Loading d:/Coding/emacs-22.3/slime/slime.el (source)...
Loading cl-macs...done
Loading cl-seq...done
Loading easy-mmode...done
Loading edmacro...done
Loading derived...done
Loading byte-opt...done
Loading cl-extra...done
while: Cannot open load file: asdf

---

My roommate and I have no idea what's wrong. If you guys could give us
any advice so we can get this working, it would be much appreciated.
Here are my versions...

---

Slime (CVS 1/18/2009 and CVS July 2008 both w/same error)
Emacs version 22.3 (also tried 22.2 w/same error)
SBCL version 1.0.13 (also tried 1.0.22 w/same error)

---

And here are the contents to my .emacs file:

---

;Suppresses Startup Message
(setq inhibit-startup-message t)

;Enables PC-style cursor movement and selection
(pc-selection-mode)

;Where to find SLIME
(add-to-list 'load-path "D:\\Coding\\emacs-22.3\\slime\\")

;Attempt to find ASDF
(add-to-list 'load-path "D:\\Coding\\SBCL\\asdf\\")

;Telling SLIME what Lisp I'm using (SBCL)
(setq slime-lisp-implementations
      '((sbcl ("sbcl"))))

;Load SLIME as needed
(require 'slime-autoloads)

;Start SLIME in Lisp mode, & automatic space-based indentation
(add-hook 'lisp-mode-hook
	  (lambda ()
	    (cond ((not (featurep 'slime))
		   (require 'slime)
		   (normal-mode)
		   (local-set-key "\r" 'newline-and-indent)
		   (set (make-local-variable lisp-indent-function)
			'common-lisp-indent-function)
		   (setq indent-tabs-mode nil)))))


;Allows loading of various contributed modules after SLIME loading
(eval-after-load "slime"
  '(progn
     (add-to-list 'load-path
		  "D:\\Coding\\emacs-22.3\\slime\\contrib\\")
     (slime-setup '(slime-fancy slime asdf slime-banner))
     (setq slime-complete-symbol*-fancy t)
     (setq slime-complete-symbol-function 'slime-fuzzy-complete-
symbol)))

;Sets f-5 to start interactive Lisp console
(defun sbcl ()
  (interactive)
  (slime 'sbcl))

(global-set-key [f5] 'sbcl)

;Enable paraedit (end)
(autoload 'paraedit-mode "paraedit"
  "Minor mode for pseudo-structurally editing Lisp code."
  t)
(add-hook 'lisp-mode-hook (lambda () (paraedit-mode +1)))

---

From: budden
Subject: Re: Slime: 'while: Cannot open load file: asdf' Error
Date: 
Message-ID: <c0d7f590-6d9e-4719-9308-fb9c5754fd86@o40g2000prn.googlegroups.com>
Hi!
  I didn't ever installed emacs+slime at win32, but it looks like
you're trying to load common-lisp code to emacs itself.
So:
1. Load slime-asdf, not asdf, to emacs.
2. It looks like slime-asdf.el should be at ...\slime\contrib path.
3. If D:\Coding\SBCL\asdf\ points to asdf.lisp, you'd better remove it
from load-path.
From: budden
Subject: Re: Slime: 'while: Cannot open load file: asdf' Error
Date: 
Message-ID: <0841eeac-2b08-4f08-acae-d2c85677c768@t39g2000prh.googlegroups.com>
Also it looks that there is missing dash which is rather easy to
overlook:
(slime-setup '(slime-fancy slime asdf slime-banner))
should be
(slime-setup '(slime-fancy slime-asdf slime-banner))