On Aug 7, 10:50 pm, Phil Hagelberg <p...@hagelb.org> wrote:
> I think your best bet is to use Emacs from the command-line. Even if
> people edit outside Emacs, it's easy to invoke for indentation
> purposes:
>
>     $ emacs --eval "(progn (find-file \"badly_indented.clj\")
> (indent-region (point-min) (point-max)) (untabify (point-min)
> (point-max)) (save-buffer) (kill-emacs))"

Doesn't that only replace tabs with spaces? There are some occasions
where CCW actually indents differently.
Like invocations of functions/macros prefixed by "with-"

kind regards

-- 
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