I followed this very helpful guide on getting this development environment set up. When running the emacs.bat I get the following error in Emacs:
File error: Cannot open load file, clojure-auto
Unfortunitely I am completely new to both Clojure and Emacs, so any help in even figuring out where to begin looking would be helpful.
Also, as a side note the last step in the guide is:
Start up Emacs using the emacs.bat file. Then, just type "M-x slime", and the REPL will come up, and you're on your way.
According to the Emacs documentation, M-x would be Meta key + x. It's unclear on the Meta key in Windows, however. It talks about Control, but that would be C+x, so I assume it's Shift. I also tried M+! thinking it was a shell command, but no luck. Perhaps somebody could confirm in a comment.
Update: From dfa in the comments: "meta is Alt" which works. Thank you.
Update: Very helpful info from Rayne:
If you're emacs experience continues to go the wrong way, don't give up on Clojure. There is always La Clojure for IDEA Clojure-dev for Eclipse and my personal favorite, Enclojure for NetBeans.
Rather than following the guide, why not just install ClojureBox? That will set it all up for you. It's a turnkey clojure + emacs installation.
The problem is most likely in the load-path command where you tell it where the closure files are. Try expanding the path to be a full path name and see if that helps.
You could also try setting your HOME environment variable, I think the code there relies on it being C:\clojure-dev
I documented my own experience in installing Emacs and the latest Clojure from Git repositories into Windows Vista. You might find it useful. If you're happy with Clojure 1.0.0 you can just install Clojure Box, though.
来源:https://stackoverflow.com/questions/760868/in-a-emacs-slime-clojure-windows-setup-failure-to-load-clojure-auto