Manage to install package.el
I have put
(let ((buffer (url-retrieve-synchronously
"http://tromey.com/elpa/package-install.el")))
(save-excursion
(set-buffer buffer)
(goto-char (point-min))
(re-search-forward "^$" nil 'move)
(eval-region (point) (point-max))
(kill-buffer (current-buffer))))
into .emacs
ran emacs
removed from .emacs what have previously added
ran from emacs: M-x package-refresh-contents
then: M-x package-install <enter> clojure-mode
got to warning on clojure-mode.el:69:1:Warning cl package required at runtime
and
clojure-mode:179:34:Warning : reference to free variable paraedit-mode
doesn't know what it mean but also added
(add-to-list 'load-path "~/.emacs.d/")
(require 'clojure-mode)
(require 'paredit)
(defun turn-on-paredit () (paredit-mode 1))
(add-hook 'clojure-mode-hook 'turn-on-paredit)
to init.el
so final file is
(require 'package)
(add-to-list 'package-archives
'("marmalade" . "http://marmalade-repo.org/packages/"))
(package-initialize)
(add-to-list 'load-path "~/.emacs.d/")
(require 'clojure-mode)
(require 'paredit)
(defun turn-on-paredit () (paredit-mode 1))
(add-hook 'clojure-mode-hook 'turn-on-paredit)
now as tutorial on https://github.com/technomancy/clojure-mode states used:
M-x run-lisp
and got Searching for program: no such file or directory, lisp
any help?
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en