+; todo 
+; 1. emit text deltas, not plain text replacement (or IDEs will not like it)
+; 2. write with clojure.zip functions the close-* stuff
+; 3. write the string related stuff
+; ... ?
+; 4. add support for more clojure-related source code ( #{}, #""... )
+; ... and all the other paredit stuff ...
+
 (ns paredit.core
   (:use clojure.contrib.def)
   (:use clojure.test)

(defvar *text* (atom {:text "" :offset 0 :length 0})
  "defines a text, with :offset being the cursor position,
   and :length being a possible selection (may be negative)")


	                 "\\| " "\\(| "
	                 "\\\\| " "\\\\ (|) "}]
	    [")"         :paredit-close-round
	                {"(a b |c [])" "(a b c [])|"
	                 #_"(a b |c   )" #_"(a b c)|"
                   #_"( a,  b |[a b ]   )" #_"( a,  b [a b ])|"
                   #_"( a,  b [|a b ]   )" #_"( a,  b [a b ])|"
