Permalink
Browse files

Package stuff: clojure and clojure-test modes, upgraded rainbow mode.

  • Loading branch information...
1 parent 785703e commit 0fd7c5c8cf6fa751a5ba1abbf7b4c293ca39451b @andreaja committed Oct 11, 2011
@@ -9,16 +9,22 @@
[(0 5)
nil "Flexible inline text and code completion" tar])
(debbugs .
- [(0 3)
+ [(0 3)
nil "SOAP library to access debbugs servers" tar])
(epoch-view .
[(0 0 1)
nil "Minor mode to visualize epoch timestamps" single])
+ (jgraph-mode .
+ [(0 0)
+ nil "Major mode for Jgraph files" single])
(js2-mode .
[(20090814)
nil "Improved JavaScript editing mode" single])
+ (lmc .
+ [(1 0)
+ nil "Little Man Computer in Elisp" single])
(load-dir .
- [(0 0 3)
+ [(0 0 3)
nil "Load all Emacs Lisp files in a given directory" single])
(markchars .
[(0 2 0)
@@ -29,18 +35,30 @@
(muse .
[(3 20)
nil "Authoring and publishing tool" tar])
+ (oauth2 .
+ [(0 1)
+ nil "OAuth 2.0 Authorization Protocol" single])
(org .
- [(20110914)
+ [(20111001)
nil "Outline-based notes management and organizer" tar])
+ (quarter-plane .
+ [(0 1)
+ nil "editing using quarter-plane screen model" single])
(rainbow-mode .
- [(0 1)
+ [(0 2)
nil "Colorize color names in buffers" single])
(register-list .
[(0 1)
nil "Interactively list/edit registers" single])
(sisu-mode .
[(3 0 3)
nil "Major mode for SiSU markup text" single])
+ (svg-clock .
+ [(0 2)
+ nil "Analog clock using Scalable Vector Graphics" single])
+ (undo-tree .
+ [(0 3 1)
+ nil "Treat undo history as a tree" single])
(uni-confusables .
[(0 1)
nil "Unicode confusables table" tar])

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -1 +0,0 @@
-(define-package "clojure-mode" "1.10.0" "Major mode for Clojure code" (quote nil))
@@ -4,7 +4,7 @@
;;;### (autoloads (clojure-enable-slime-on-existing-buffers clojure-jack-in
-;;;;;; clojure-mode) "clojure-mode" "clojure-mode.el" (20076 51489))
+;;;;;; clojure-mode) "clojure-mode" "clojure-mode.el" (20089 63160))
;;; Generated autoloads from clojure-mode.el
(autoload 'clojure-mode "clojure-mode" "\
@@ -37,7 +37,7 @@ if that value is non-nil.
;;;***
-;;;### (autoloads nil nil ("clojure-mode-pkg.el") (20076 51489 434834))
+;;;### (autoloads nil nil ("clojure-mode-pkg.el") (20089 63160 822164))
;;;***
@@ -0,0 +1 @@
+(define-package "clojure-mode" "1.11.1" "Major mode for Clojure code" (quote nil))
@@ -6,7 +6,7 @@
;; Lennart Staflin <lenst@lysator.liu.se>
;; Phil Hagelberg <technomancy@gmail.com>
;; URL: http://github.com/technomancy/clojure-mode
-;; Version: 1.10.0
+;; Version: 1.11.1
;; Keywords: languages, lisp
;; This file is not part of GNU Emacs.
@@ -411,7 +411,7 @@ elements of a def* forms."
"enumeration-seq" "eval" "even?" "every?"
"extend" "extend-protocol" "extend-type" "extends?" "extenders"
"false?" "ffirst" "file-seq" "filter" "find" "find-doc"
- "find-ns" "find-var" "first" "float" "float-array"
+ "find-ns" "find-var" "first" "flatten" "float" "float-array"
"float?" "floats" "flush" "fn" "fn?"
"fnext" "for" "force" "format" "future"
"future-call" "future-cancel" "future-cancelled?" "future-done?" "future?"
@@ -471,7 +471,7 @@ elements of a def* forms."
"var?" "vary-meta" "vec" "vector" "vector?"
"when" "when-first" "when-let" "when-not" "while"
"with-bindings" "with-bindings*" "with-in-str" "with-loading-context" "with-local-vars"
- "with-meta" "with-open" "with-out-str" "with-precision" "xml-seq"
+ "with-meta" "with-open" "with-out-str" "with-precision" "xml-seq" "zipmap"
) t)
"\\>")
1 font-lock-variable-name-face)
@@ -849,14 +849,19 @@ use (put-clojure-indent 'some-symbol 'defun)."
(defvar clojure-project-root-file "project.clj")
-(defvar clojure-swank-command "lein jack-in %s")
+;; Pipe to sh to work around mackosecks GUI Emacs $PATH issues.
+(defvar clojure-swank-command "echo \"lein jack-in %s\" | sh")
;;;###autoload
(defun clojure-jack-in ()
(interactive)
(setq slime-net-coding-system 'utf-8-unix)
(lexical-let ((port (- 65535 (mod (caddr (current-time)) 4096)))
(dir default-directory))
+ (when (and (functionp 'slime-disconnect) (slime-current-connection))
+ (slime-disconnect))
+ (when (get-buffer "*swank*")
+ (kill-buffer "*swank*"))
(let* ((swank-cmd (format clojure-swank-command port))
(proc (start-process-shell-command "swank" "*swank*" swank-cmd)))
(set-process-filter (get-buffer-process "*swank*")
@@ -874,6 +879,7 @@ use (put-clojure-indent 'some-symbol 'defun)."
(eval-buffer "*swank*")
(slime-connect "localhost" port)
(with-current-buffer (slime-output-buffer t)
+ (delete-region (point-min) (point-max))
(setq default-directory dir))
(set-process-filter process nil))))))
(message "Starting swank server..."))
@@ -929,6 +935,7 @@ use (put-clojure-indent 'some-symbol 'defun)."
;;;###autoload
(add-to-list 'auto-mode-alist '("\\.clj$" . clojure-mode))
+(add-to-list 'interpreter-mode-alist '("jark" . clojure-mode))
(add-to-list 'interpreter-mode-alist '("cake" . clojure-mode))
(provide 'clojure-mode)
@@ -0,0 +1,35 @@
+;;; clojure-test-mode-autoloads.el --- automatically extracted autoloads
+;;
+;;; Code:
+
+
+;;;### (autoloads (clojure-test-mode) "clojure-test-mode" "clojure-test-mode.el"
+;;;;;; (20089 63184))
+;;; Generated autoloads from clojure-test-mode.el
+
+(autoload 'clojure-test-mode "clojure-test-mode" "\
+A minor mode for running Clojure tests.
+
+\(fn &optional ARG)" t nil)
+
+(defun clojure-test-maybe-enable nil "\
+Enable clojure-test-mode if the current buffer contains a namespace
+with a \"test.\" bit on it." (let ((ns (clojure-find-package))) (when (search "test." ns) (save-window-excursion (clojure-test-mode t)))))
+
+(add-hook 'clojure-mode-hook 'clojure-test-maybe-enable)
+
+;;;***
+
+;;;### (autoloads nil nil ("clojure-test-mode-pkg.el") (20089 63184
+;;;;;; 926099))
+
+;;;***
+
+(provide 'clojure-test-mode-autoloads)
+;; Local Variables:
+;; version-control: never
+;; no-byte-compile: t
+;; no-update-autoloads: t
+;; coding: utf-8
+;; End:
+;;; clojure-test-mode-autoloads.el ends here
@@ -0,0 +1 @@
+(define-package "clojure-test-mode" "1.5.6" "Minor mode for Clojure tests" (quote ((slime "20091016") (clojure-mode "1.7"))))
Oops, something went wrong.

0 comments on commit 0fd7c5c

Please sign in to comment.