Re: Recommendation for Clojure Indentation tool

2010-01-09 Thread Jeff Schwab
Gabi wrote: I really hate emacs. ... Any other way to format lisp/clojure ? http://www.vim.org/scripts/script.php?script_id=2501 -- 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 t

Re: Recommendation for Clojure Indentation tool

2010-01-09 Thread Gabi
Maybe you can post here an example code of how you used it ? Maybe I missed something? On Jan 9, 10:38 pm, Laurent PETIT wrote: > Weird, it used to work for me when I tested it. And it appears it also > worked for some people on the thread ... > > 2010/1/9 Gabi : > > > Yes. Didn't work. Even afte

Re: Recommendation for Clojure Indentation tool

2010-01-09 Thread Gabi
Just found an easy and stupid way. Using Kate editor: 1, Tools->indentation->Lisp 2. Select the whole text and do Tools ->Align On Jan 9, 10:17 pm, Gabi wrote: > Yes. Didn't work. Even after fixing a bug in it (complained about > Character/isWhitespace ) it produced garbage > > On Jan 9, 3:00 

Re: Recommendation for Clojure Indentation tool

2010-01-09 Thread Gabi
Yes. Didn't work. Even after fixing a bug in it (complained about Character/isWhitespace ) it produced garbage On Jan 9, 3:00 pm, Laurent PETIT wrote: > Have you tried what I wrote in my above post ? > > 2010/1/9 Gabi : > > > I really hate emacs. And the solution in > >http://www.google.com/url?s

Re: Recommendation for Clojure Indentation tool

2010-01-09 Thread Laurent PETIT
Weird, it used to work for me when I tested it. And it appears it also worked for some people on the thread ... 2010/1/9 Gabi : > Yes. Didn't work. Even after fixing a bug in it (complained about > Character/isWhitespace ) it produced garbage > > On Jan 9, 3:00 pm, Laurent PETIT wrote: >> Have yo

Re: Recommendation for Clojure Indentation tool

2010-01-09 Thread Martin DeMello
On Tue, Dec 22, 2009 at 4:18 PM, Gabi wrote: > I need a simple command-line tool to indent Clojure source files. > Any recommendation ? If all else fails, vim has a batch mode. $ echo "=G:wq" >> indent-script $ vim -s indent-script right now it asks me to hit enter when it's done indenting; no

Re: Recommendation for Clojure Indentation tool

2010-01-09 Thread Laurent PETIT
Have you tried what I wrote in my above post ? 2010/1/9 Gabi : > I really hate emacs. And the solution in > http://www.google.com/url?sa=D&q=http://groups.google.com/group/clojure/browse_thread/thread/6a16bb89340f46d8/fb03dffa410e919a%3Flnk%3Dgst%26q%3Dharrop%2Bindent%23fb03dffa410e919a&usg=AFQjCN

Re: Recommendation for Clojure Indentation tool

2010-01-09 Thread Gabi
I really hate emacs. And the solution in http://www.google.com/url?sa=D&q=http://groups.google.com/group/clojure/browse_thread/thread/6a16bb89340f46d8/fb03dffa410e919a%3Flnk%3Dgst%26q%3Dharrop%2Bindent%23fb03dffa410e919a&usg=AFQjCNFAyiZOBGMdhoXnFe1UaFrJQTgGUg doesn't work Any other way to format l

Re: Recommendation for Clojure Indentation tool

2009-12-23 Thread Stefan Kamphausen
Hi, On Dec 22, 11:48 am, Gabi wrote: > I need a simple command-line tool to indent Clojure source files. > Any recommendation ? there was a post to a ruby script for some OSX editor which provided the Clojure indentation by calling emacs in batch-mode. Unfortunately I can't find it anymore. So

Re: Recommendation for Clojure Indentation tool

2009-12-22 Thread Laurent PETIT
There is John Harrop's one, here http://groups.google.com/group/clojure/browse_thread/thread/6a16bb89340f46d8/fb03dffa410e919a?lnk=gst&q=harrop+indent#fb03dffa410e919a 2009/12/22 Gabi > I need a simple command-line tool to indent Clojure source files. > Any recommendation ? > > -- > You receiv

Recommendation for Clojure Indentation tool

2009-12-22 Thread Gabi
I need a simple command-line tool to indent Clojure source files. Any recommendation ? -- 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 - pleas