-
Notifications
You must be signed in to change notification settings - Fork 0
/
slime-config-paddy.el
64 lines (43 loc) · 1.82 KB
/
slime-config-paddy.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
;(add-to-list 'load-path "~/.emacs.d/vendor/slime/") ; your SLIME directory
;(require 'slime)
;(slime-setup)
(when nil
;(setq inferior-lisp-program "/usr/local/bin/sbcl") ;; mac specific
(setq inferior-lisp-program "/usr/bin/sbcl") ;; linux specific
(setq slime-lisp-implementations
'(
(sbcl ("/usr/local/bin/sbcl" "--core" "/Users/pinochle/bin/sbcl.core-with-swank")
:init (lambda (port-file _)
(format "(swank:start-server %S :coding-system \"utf-8-unix\")\n" port-file)))
(clojure ("/Users/pinochle/bin/clojure") :init swank-clojure-init))))
;(add-to-list 'load-path "~/.emacs.d/vendor/clojure-mode")
(require 'clojure-mode)
;(add-to-list 'load-path
; (expand-file-name "~/.emacs.d/vendor/swank-clojure"))
(setq swank-clojure-jar-home "/opt/jars")
(setq swank-clojure-deps (list
"/opt/jars/swank-clojure.jar"
"/opt/jars/clojure.jar"
"/opt/jars/clojure-contrib.jar"))
;(add-to-list 'load-path (expand-file-name "~/.emacs.d/slime"))
(require 'slime)
(require 'swank-clojure)
(slime-setup )
(add-hook 'lisp-mode-hook (lambda () (slime-mode t)))
(add-hook 'inferior-lisp-mode-hook (lambda () (inferior-slime-mode t)))
;; clojure-mode
;; swank-clojure
;(add-to-list 'load-path "~/opt/swank-clojure/src/emacs")
;(setq swank-clojure-jar-path "~/.clojure/clojure.jar"
; swank-clojure-extra-classpaths (list
; "~/opt/swank-clojure/src/main/clojure"
; "~/.clojure/clojure-contrib.jar"))
;(require 'swank-clojure-autoload)
;; slime
;(eval-after-load "slime"
; '(progn (slime-setup '(slime-repl))))
;(add-to-list 'load-path "~/opt/slime")
;(require 'slime)
;(slime-setup)
(setq slime-protocol-version 'ignore)
(provide 'slime-config-paddy)