Re: standalone indentation tool

2011-08-09 Thread Philipp Steinwender
sorry i didn't check the result. with --batch something went wrong. the indentation gets weird. -- 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 moderat

Re: standalone indentation tool

2011-08-09 Thread Philipp Steinwender
thanks for that lars. it works better. emacs does restart for each file, but it is faster than before because it only evaluates the code without ui. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegr

Re: standalone indentation tool

2011-08-08 Thread Philipp Steinwender
thank you, that worked! to re-indent all source files, I use it as bash script like: $ find ./src ./test -name '*.clj' | xargs -I {} emacs --eval "(progn (setq make-backup-files nil) (find-file \"{}\") (indent-region (point-min) (point-max)) (untabify (point-min) (point-max)) (save-buffer) (kill

standalone indentation tool

2011-08-07 Thread Philipp Steinwender
hi! Is there a tool available that does indentation of clojure code and does not depend on an editor/IDE? we work on the same code together with different editors (eclipse+counterclockwise and emacs). We often reindent the other's code what leads to changes when we merge our commits with git.