Emacs: Optimize Imports?

2012-01-01 Thread Daniel Glauser
Hello folks, Does anyone know a way with Emacs/Leiningen/Slime/Swank to ask the system to optimize the imports? I'm looking for something similar to the way Intellij does things: http://www.jetbrains.com/idea/webhelp/optimizing-imports.html Converting existing Java example to Clojure and many

Re: Emacs: Optimize Imports?

2012-01-01 Thread gaz jones
I believe this might be what close to what you are looking for: https://github.com/technomancy/slamhound On Sun, Jan 1, 2012 at 1:03 PM, Daniel Glauser danglau...@gmail.com wrote: Hello folks, Does anyone know a way with Emacs/Leiningen/Slime/Swank to ask the system to optimize the imports?  

Re: Emacs: Optimize Imports?

2012-01-01 Thread Daniel Glauser
Perfect. Thanks! On Jan 1, 12:05 pm, gaz jones gareth.e.jo...@gmail.com wrote: I believe this might be what close to what you are looking for: https://github.com/technomancy/slamhound On Sun, Jan 1, 2012 at 1:03 PM, Daniel Glauser danglau...@gmail.com wrote: Hello folks, Does

Re: Emacs: Optimize Imports?

2012-01-01 Thread Matthew Boston
It would be cool to get an emacs command to run slamhound directly in a file... h #lightbulb On Jan 1, 2:08 pm, Daniel Glauser danglau...@gmail.com wrote: Perfect.  Thanks! On Jan 1, 12:05 pm, gaz jones gareth.e.jo...@gmail.com wrote: I believe this might be what close to what you

Re: Emacs: Optimize Imports?

2012-01-01 Thread Phil Hagelberg
Matthew Boston matthew.bos...@gmail.com writes: It would be cool to get an emacs command to run slamhound directly in a file... h #lightbulb It exists (heck, you can run it on your whole project with one command), but it's not very polished since the pretty-printing of ns forms is