On Mon, Aug 8, 2011 at 5:36 AM, Philipp Steinwender
<philipp.a.steinwen...@gmail.com> wrote:
> 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-emacs))"
> it works, but it opens and closes emacs quite often. next thing for me will
> be to let emacs find all clj files and open and close them.

Perhaps adding --batch to the command line for emacs would be useful?

emacs --batch --eval ...

Lars Nilsson

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