On Tue, Jan 4, 2011 at 9:10 PM, Eric Schulte <schulte.e...@gmail.com> wrote:
> I wonder if anyone else has written any similar Emacs alignment rules
> for Clojure which they would be interested in sharing?

Alignment rules for let and defroutes are at the top of my most wanted list.

(let [n                (count content-divs)
      width            500
      widthpx          (str width "px")
      scrollable-id    (or scrollable-id (str "scrollable" (rand-int 100)))
      scrollable-fname (symbol scrollable-id)]


(defroutes app
      (GET "/"          _       (main-page))
      (GET "/subscribe" _       (slices site-header subscribe-button))
      (GET "/test"      request (slices jquery
                                  (dom (alert ~(:remote-addr request)))
                                  (html [:h1 "Hi"])
                                  (css [:h1 :color "blue"]))))

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to