Commit graph

343 commits

Author SHA1 Message Date
Jonas Enlund
7a4d2bfc50 fixed readme 2012-06-11 07:47:18 +03:00
Jonas Enlund
5f3fc0cff0 Mention limitations in README 2012-06-11 07:43:23 +03:00
Jonas Enlund
af21ab3e81 Merge pull request #40 from duelinmarkers/test-coverage-for-rules
Test coverage for rules
2012-06-10 21:20:06 -07:00
John Hume
2a899b452a Handle list member-access in dot form. Fixes #33. 2012-06-10 23:03:48 -04:00
John Hume
c45be0724b Fix 'remove suggestion for anonymous fns, issue #39. 2012-06-10 21:39:22 -04:00
John Hume
c6238ac337 Remove extra whitespace 2012-06-10 21:26:11 -04:00
John Hume
3bb4ad5c71 Remove redundant [(not (= x y)) (not= x y)]
The rule is already covered in equality.
2012-06-10 21:13:38 -04:00
John Hume
1f66ea8f5a Remove redundant [(do x) x]
The rule is covered in control-structures.
2012-06-10 21:12:38 -04:00
John Hume
d7dc246e99 Add minimal test coverage for all rules 2012-06-10 21:04:43 -04:00
John Hume
3b5cac7c86 More complete test coverage for control-structures
This covers all but the (loop [] ...) rule, which seems to include the
(recur) in the body of the suggested (when...) form.
2012-06-10 19:29:14 -04:00
Jonas Enlund
75b4091ebb Merge pull request #38 from tsdh/master
Here's the requested emacs-usage documentation in the README.md.
2012-05-31 06:40:57 -07:00
Tassilo Horn
3a2e85200a Document Emacs usage in README.md 2012-05-31 15:38:50 +02:00
Jonas Enlund
710e67188a Merge pull request #37 from tsdh/master
Use check-file instead of check-reader.
2012-05-31 06:30:25 -07:00
Tassilo Horn
abf4979a0f Use check-file instead of check-reader.
Also, make check-file include :file metadata.  Show that including the line
number in a more conventional compiler output format, which can be easily
exploited by tools such as Emacs.

For example, the following implements kibit support for Emacs, i.e., M-x kibit
RET will run kibit in the current project and show its results in a
*compilation* buffer, where all kibit suggestions are properly highlighted and
hyperlinked to the clojure source code files.

---------------------------------------------------------------
(require 'compile)

(add-to-list 'compilation-error-regexp-alist-alist
	     '(kibit "At \\([^:]+\\):\\([[:digit:]]+\\):" 1 2 nil 0))

(add-to-list 'compilation-error-regexp-alist 'kibit)

(defun kibit ()
  "Run kibit on the current project.
Display the results in a hyperlinked *compilation* buffer."
  (interactive)
  (compile "lein kibit"))
---------------------------------------------------------------
2012-05-31 11:29:40 +02:00
Jonas Enlund
388afa57b8 Merge pull request #36 from tsdh/master
Suggest `while` for bindingless loop-recur
2012-05-30 07:53:15 -07:00
Tassilo Horn
7f9c5281d8 suggest while for bindingless loop-recur 2012-05-30 15:40:58 +02:00
Jonas Enlund
976dff31b9 Merge pull request #35 from tsdh/master
Suggest shorthands for the first/next combinations
2012-05-30 06:37:51 -07:00
Tassilo Horn
75ff91ad10 add me to contributors 2012-05-30 14:55:12 +02:00
Tassilo Horn
9a021e8885 Suggest shorthands of first/next combinations. 2012-05-30 14:53:13 +02:00
Jonas Enlund
ebb2ffe92e Release 0.0.4 2012-05-20 08:20:25 +03:00
Jonas Enlund
0f6bbc689a fixed issue #31 2012-05-20 08:12:05 +03:00
Jonas Enlund
820d26ad0b Fixed (if ?x (do . ?y)) rule (#32) 2012-05-19 17:21:08 +03:00
Jonas Enlund
2e1f33379e Bump version to 0.0.4-SNAPSHOT 2012-04-03 17:46:00 +03:00
Jonas Enlund
dc4f723baa Added not-any? rule 2012-04-02 22:24:36 +03:00
Jonas Enlund
65095fc3b5 Fixed anononymous function rule -- fixes #29 2012-04-02 22:09:17 +03:00
Jonas Enlund
d483dae7aa Removed old threading rule 2012-04-02 07:17:50 +03:00
Jonas Enlund
41b6c53964 Fixed threading rules 2012-04-02 06:42:22 +03:00
Jonas Enlund
095c23f336 Update README.md 2012-04-01 21:56:28 +03:00
Jonas Enlund
4734a1ba40 Release 0.0.3 2012-04-01 19:44:26 +03:00
Jonas Enlund
9be5f26fd9 Added two 'raw' rules 2012-04-01 14:09:49 +03:00
Jonas Enlund
7513c744b1 New rule system 2012-04-01 07:39:39 +03:00
Jonas Enlund
308e638ba6 Fixed the plugin, removed plugin opts for now 2012-03-28 16:11:34 +03:00
Paul deGrandis
337da5049a Merge branch 'simplifying-core-paul' 2012-03-27 12:45:26 -04:00
Paul deGrandis
7356141f29 Doc typo - again 2012-03-26 11:08:39 -04:00
Paul deGrandis
3a4b27220b Test updates to also test simplify directly 2012-03-26 08:13:02 -04:00
Paul deGrandis
9cec3ee154 Match outer forms first - from Kevin's issue #23 2012-03-26 07:45:28 -04:00
Paul deGrandis
4963421cff Fixing some doc typos 2012-03-25 23:58:18 -04:00
Paul deGrandis
2531ae65b1 Some early doc updates 2012-03-25 23:36:59 -04:00
Paul deGrandis
c3b8faae0c rename update 2012-03-25 23:36:22 -04:00
Paul deGrandis
9fe63a2f90 Tests are updated to use check 2012-03-25 23:33:00 -04:00
Paul deGrandis
a2bd09a14c A new check, that offers three possible integration points 2012-03-25 23:32:27 -04:00
Paul deGrandis
5414662836 better ns naming 2012-03-25 23:20:28 -04:00
Paul deGrandis
3c2e9ce365 Fixing ns order 2012-03-25 16:28:56 -04:00
Paul deGrandis
76208194fa Updating tests 2012-03-25 16:28:37 -04:00
Jonas Enlund
40dd12fd62 Initial refactor 2012-03-23 23:30:39 +02:00
Jonas Enlund
4860b24789 Get rid of ego ns 2012-03-23 21:50:29 +02:00
Paul deGrandis
c958baac7f A bug that slipped in on Kevin's change 2012-03-23 13:54:10 -04:00
Jonas Enlund
87c6aef973 Merge branch 'multi-pass-simplify' 2012-03-23 18:13:52 +02:00
Jonas Enlund
6e2ba5f81a Merge pull request #21 from lynaghk/master
Add :simplify-guard keyword argument to `check-via-reader` and `check-file`.
2012-03-23 09:11:34 -07:00
Paul deGrandis
b9cee3e516 Dead code is replaced with _ - we can probably do better, ?_ catching maybe 2012-03-23 01:45:38 -04:00