C-x h selects the entire buffer. C-M-\ reindents the selected region. http://stackoverflow.com/questions/11423566/how-do-i-intelligently-re-indent-clojure-in-emacs
sorry, I have found the answer. -- tao Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Friday, January 3, 2014 at 5:12 PM, tao wrote: > https://github.com/clojure-emacs/clojure-mode > > I have installed this plugin, but I don’t know how to indent clojure code, > when I already selected a region. In Vim, I can do this using “=“, just a > simple key stroke. > > This a problem when I copy some clojure code from other place, not typed in. > > I already read this tutorial > (http://www.unexpected-vortices.com/clojure/10-minute-emacs-for-clojure.html), > but I cannot found the method. > > sorry for disturb. :) > > -- > tao > Sent with Sparrow (http://www.sparrowmailapp.com/?sig) > -- -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.