Having some troubles:
---------------------------------------
("C:\\emacs-22.2\\bin\\emacs.exe")
Loading encoded-kb...done
An error has occurred while loading `c:/Users/saftarn/AppData/
Roaming/.emacs':
File error: Cannot open load file, clojure-mode
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.
For information about GNU Emacs and the GNU system, type C-h C-a.
Loading c:/Program Files/erl5.6.2/lib/tools-2.6.1/emacs/erlang.el
(source)...done
!! File erlang uses old-style backquotes !!
Loading dired...
Loading regexp-opt...done
Loading dired...done
Loading inf-lisp...done
apply: Spawning child process: invalid argument
call-interactively: Text is read-only [3 times]
(New file)
byte-code: Beginning of buffer [2 times]
byte-code: Beginning of buffer
--------------------------------------
(setq load-path (cons "C:/Program Files/erl5.6.2/lib/tools-2.6.1/
emacs"
load-path))
(setq erlang-root-dir "C:/Program Files/erl5.6.2")
(setq exec-path (cons "C:/Program Files/erl5.6.2/bin" exec-
path))
(require 'erlang-start)
(setq inferior-lisp-program
; Path to java implementation
(let* ((java-path "C:/Program Files/Java/")
; Extra command-line options
; to java.
(java-options "")
; Base directory to Clojure.
; Change this accordingly.
(clojure-path "C:/clojure_20080612/")
; The character between
; elements of your classpath.
(class-path-delimiter ";")
(class-path (mapconcat (lambda (s) s)
; Add other paths to this list
; if you want to have other
; things in your classpath.
(list (concat clojure-path
"clojure.jar"))
class-path-delimiter)))
(concat java-path
" " java-options
" -cp " class-path
" clojure.lang.Repl")))
;; Require clojure-mode to load and associate it to all .clj files.
(setq load-path (cons "C:/clojure_20080612/Progs/" load-path))
(require 'clojure-mode)
(setq auto-mode-alist
(cons '("\\.clj$" . clojure-mode)
auto-mode-alist))
;; These are extra key defines because I kept typing them.
;; Within clojure-mode, have Ctrl-x Ctrl-e evaluate the last
;; expression.
;; Ctrl-c Ctrl-e is also there, because I kept typoing it.
(add-hook 'clojure-mode-hook
'(lambda ()
(define-key clojure-mode-map "\C-c\C-e" 'lisp-eval-last-
sexp)
(define-key clojure-mode-map "\C-x\C-e" 'lisp-eval-last-
sexp)))