Re: Refactoring tools

2013-06-09 Thread Ye He
I recently upgraded clojure-refactoring to Clojure 1.5.0 and nREPL. See if 
it helps you. https://github.com/luckykevin/clojure-refactoring

On Thursday, March 21, 2013 9:05:57 AM UTC+8, Dave Kincaid wrote:

 I'm wondering if there are any refactoring tools around for working with 
 Clojure projects in Emacs. There seems to be all kinds of other tools 
 except for refactoring. I'm really looking for simple things like ways to 
 easily rename variables, functions, namespaces, etc. That seems to be the 
 most common thing I'm trying to do. Are there any tools out there to make 
 it easier?

 Thanks,

 Dave


-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Refactoring tools

2013-06-09 Thread Ye He
Hi, I recently upgrade old clojure-refactoring repo to Clojure 1.5.0 and 
nREPL. See if it help you. https://github.com/luckykevin/clojure-refactoring

On Thursday, March 21, 2013 9:05:57 AM UTC+8, Dave Kincaid wrote:

 I'm wondering if there are any refactoring tools around for working with 
 Clojure projects in Emacs. There seems to be all kinds of other tools 
 except for refactoring. I'm really looking for simple things like ways to 
 easily rename variables, functions, namespaces, etc. That seems to be the 
 most common thing I'm trying to do. Are there any tools out there to make 
 it easier?

 Thanks,

 Dave


-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Refactoring tools

2013-06-09 Thread Jay Fields
nrepl has macroexpansion, so you can already have 1/2 of what you want - 
better than nothing.

On Friday, March 22, 2013 9:42:10 PM UTC-4, Alex Baranosky wrote:

 I'd really like to see a way to factor to code that uses -/- and back 
 again.

 On Fri, Mar 22, 2013 at 12:01 PM, Laurent PETIT 
 lauren...@gmail.comjavascript:
  wrote:

 2013/3/22 Daniel Glauser dangl...@gmail.com javascript:

 I feel your pain, would love to see some Clojure refactorings. I had 
 started working on the 1.3 branch of clojure-refactoring trying to bring it 
 up to speed. I met with Tony (the original author of clojure-refactoring) 
 and Phil H. at Clojure/West. Tony was very adamant that we ditch his code 
 and start over. Currently I'm doing some experimenting with sjacket (
 https://github.com/cgrand/sjacket) trying to see if we could make that 
 work for renaming. Once I'm confident that direction will work I'm happy to 
 throw some code up on Github. If someone beats me to it then I'd like to 
 contribute to their project.

 I just created a #clojure-refactoring channel up on Freenode to make it 
 easier to collaborate. We can rename the node once a name emerges for a new 
 project.


 Please note that I've also created a project entry for the Google Summer 
 Of Code for this : creating refactoring library + integration of it into 
 Counterclockwise : 
 http://dev.clojure.org/display/community/Project+Ideas#ProjectIdeas-RefactoringfeatureforCCWotherIDEs

 I think writing a refactoring library with more than one client in mind 
 (e.g. a command line client as well as an IDE client) is interesting 
 because it will help shape its API (for instance, an IDE client will 
 usually want to offer a view of the modifications to be applied, thus 
 refactoring can have a review step).

 Cheers,

 -- 
 Laurent
  


 On Thursday, March 21, 2013 12:12:42 AM UTC-6, Akhil Wali wrote:

 A fairly new project for refactoring Clojure is clj-refactor.el.
 Not too much functionality yet, but supplements clojure-refactoring 
 pretty well. 
 clj-refactor.el will later interop with nRepl, or that's the plan I 
 heard.

 That aside (and I know I'm being redundant), refactoring any Lisp is a 
 snap with paredit-mode.
 It doesn't do stuff like renaming a function or exracting a var, but 
 I've had some success in making these operations as interactive functions. 



 On Thu, Mar 21, 2013 at 8:11 AM, Devin Walters dev...@gmail.comwrote:

 Yeah it sort of bums me out that clojure-refactoring has been in the 
 ditch.

 There are a number of tasks to get this back into a good state. The 
 plan right now is to take tests (which were mostly failing and using 
 outdated dependencies) from the old-test directory and get them passing 
 under Midje. Then, get it to play nicely with nrepl and update any elisp 
 that needs updating to bring back the clojure-refactoring minor mode.

 If anyone wants to help resurrect this project: https://github.com/**
 devn/clojure-refactoring/tree/**clojure-1.5https://github.com/devn/clojure-refactoring/tree/clojure-1.5
  your 
 help would be appreciated. I created a new branch and started 
 bringing old failing tests over. Feel free to drop me a pull request. 
 Big, 
 sweeping commits and tiny typo commits are both equally welcome.
  
 On Wednesday, March 20, 2013 at 8:22 PM, Dave Kincaid wrote:

 Thanks. It looks like nothing has happened on that in a year and it 
 appears to require slime/swank. But it's a start I guess if there isn't 
 anything else.

 On Wednesday, March 20, 2013 6:13:30 PM UTC-7, Devin Walters (devn) 
 wrote:

  I don't think much has happened with it recently, but I used to use 
 https://github.com/joodie/clojure-refactoringhttps://github.com/joodie/clojure-refactoring
 .

 -- 
 '(Devin Walters)
 Sent from my Motorola RAZR V3 (Matte Black)

 On Wednesday, March 20, 2013 at 8:05 PM, Dave Kincaid wrote:

 I'm wondering if there are any refactoring tools around for working 
 with Clojure projects in Emacs. There seems to be all kinds of other 
 tools 
 except for refactoring. I'm really looking for simple things like ways to 
 easily rename variables, functions, namespaces, etc. That seems to be the 
 most common thing I'm trying to do. Are there any tools out there to make 
 it easier?

 Thanks,

 Dave

 -- 
 -- 
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clo...@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+u...@**googlegroups.com
 For more options, visit this group at
 http://groups.google.com/**group**/clojure?hl=enhttp://groups.google.com/group/clojure?hl=en
 --- 
 You received this message because you are subscribed to the Google 
 Groups Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to clojure+u...@**googlegroups.com.
 For more options, visit

Re: Refactoring tools

2013-06-09 Thread Jay Fields
I've written the 2nd one in emacs lisp, the first one would be even easier. 
If you're using emacs, you should give it a shot, it was a great learning 
experience for me.

On Friday, March 22, 2013 10:54:36 PM UTC-4, Russell Mull wrote:

 I find myself doing that a lot by hand, a tool to help would be very 
 useful. Some others that I've thought of are:

 - change between (fn [x] ...) and #(...)
 - pull sexp up to let, or introduce a new let (like introduce variable in 
 java et. al)


 On Saturday, March 23, 2013 10:42:10 AM UTC+9, Alex Baranosky wrote:

 I'd really like to see a way to factor to code that uses -/- and back 
 again.

 On Fri, Mar 22, 2013 at 12:01 PM, Laurent PETIT lauren...@gmail.comwrote:

 2013/3/22 Daniel Glauser dangl...@gmail.com

 I feel your pain, would love to see some Clojure refactorings. I had 
 started working on the 1.3 branch of clojure-refactoring trying to bring 
 it 
 up to speed. I met with Tony (the original author of clojure-refactoring) 
 and Phil H. at Clojure/West. Tony was very adamant that we ditch his code 
 and start over. Currently I'm doing some experimenting with sjacket (
 https://github.com/cgrand/sjacket) trying to see if we could make that 
 work for renaming. Once I'm confident that direction will work I'm happy 
 to 
 throw some code up on Github. If someone beats me to it then I'd like to 
 contribute to their project.

 I just created a #clojure-refactoring channel up on Freenode to make it 
 easier to collaborate. We can rename the node once a name emerges for a 
 new 
 project.


 Please note that I've also created a project entry for the Google Summer 
 Of Code for this : creating refactoring library + integration of it into 
 Counterclockwise : 
 http://dev.clojure.org/display/community/Project+Ideas#ProjectIdeas-RefactoringfeatureforCCWotherIDEs

 I think writing a refactoring library with more than one client in mind 
 (e.g. a command line client as well as an IDE client) is interesting 
 because it will help shape its API (for instance, an IDE client will 
 usually want to offer a view of the modifications to be applied, thus 
 refactoring can have a review step).

 Cheers,

 -- 
 Laurent
  


 On Thursday, March 21, 2013 12:12:42 AM UTC-6, Akhil Wali wrote:

 A fairly new project for refactoring Clojure is clj-refactor.el.
 Not too much functionality yet, but supplements clojure-refactoring 
 pretty well. 
 clj-refactor.el will later interop with nRepl, or that's the plan I 
 heard.

 That aside (and I know I'm being redundant), refactoring any Lisp is a 
 snap with paredit-mode.
 It doesn't do stuff like renaming a function or exracting a var, but 
 I've had some success in making these operations as interactive 
 functions. 



 On Thu, Mar 21, 2013 at 8:11 AM, Devin Walters dev...@gmail.comwrote:

 Yeah it sort of bums me out that clojure-refactoring has been in the 
 ditch.

 There are a number of tasks to get this back into a good state. The 
 plan right now is to take tests (which were mostly failing and using 
 outdated dependencies) from the old-test directory and get them passing 
 under Midje. Then, get it to play nicely with nrepl and update any elisp 
 that needs updating to bring back the clojure-refactoring minor mode.

 If anyone wants to help resurrect this project: https://github.com/**
 devn/clojure-refactoring/tree/**clojure-1.5https://github.com/devn/clojure-refactoring/tree/clojure-1.5
  your 
 help would be appreciated. I created a new branch and started 
 bringing old failing tests over. Feel free to drop me a pull request. 
 Big, 
 sweeping commits and tiny typo commits are both equally welcome.
  
 On Wednesday, March 20, 2013 at 8:22 PM, Dave Kincaid wrote:

 Thanks. It looks like nothing has happened on that in a year and it 
 appears to require slime/swank. But it's a start I guess if there isn't 
 anything else.

 On Wednesday, March 20, 2013 6:13:30 PM UTC-7, Devin Walters (devn) 
 wrote:

  I don't think much has happened with it recently, but I used to use 
 https://github.com/joodie/clojure-refactoringhttps://github.com/joodie/clojure-refactoring
 .

 -- 
 '(Devin Walters)
 Sent from my Motorola RAZR V3 (Matte Black)

 On Wednesday, March 20, 2013 at 8:05 PM, Dave Kincaid wrote:

 I'm wondering if there are any refactoring tools around for working 
 with Clojure projects in Emacs. There seems to be all kinds of other 
 tools 
 except for refactoring. I'm really looking for simple things like ways 
 to 
 easily rename variables, functions, namespaces, etc. That seems to be 
 the 
 most common thing I'm trying to do. Are there any tools out there to 
 make 
 it easier?

 Thanks,

 Dave

 -- 
 -- 
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clo...@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+u

Re: Refactoring tools

2013-03-23 Thread Korny Sietsma
I'd also love something to optimise the ns form - I'm regularly doing
tasks by hand that could in theory be automated; adding a new
not-yet-imported library can be quite tedious, it'd be great to be able to
type (defdb and be able to hit a key combo to add a new :require entry.
 A generalised organise imports would also be nice, to remove unused
imports, convert :use to :require, turn :refer :all into :as and the
like.

Oh, and a pony!  Can I have a pony, too?  :)

- Korny
On 23 Mar 2013 14:30, Russell Mull russell.m...@gmail.com wrote:

 I find myself doing that a lot by hand, a tool to help would be very
 useful. Some others that I've thought of are:

 - change between (fn [x] ...) and #(...)
 - pull sexp up to let, or introduce a new let (like introduce variable in
 java et. al)


 On Saturday, March 23, 2013 10:42:10 AM UTC+9, Alex Baranosky wrote:

 I'd really like to see a way to factor to code that uses -/- and back
 again.

 On Fri, Mar 22, 2013 at 12:01 PM, Laurent PETIT lauren...@gmail.comwrote:

 2013/3/22 Daniel Glauser dangl...@gmail.com

 I feel your pain, would love to see some Clojure refactorings. I had
 started working on the 1.3 branch of clojure-refactoring trying to bring it
 up to speed. I met with Tony (the original author of clojure-refactoring)
 and Phil H. at Clojure/West. Tony was very adamant that we ditch his code
 and start over. Currently I'm doing some experimenting with sjacket (
 https://github.com/cgrand/**sjacket https://github.com/cgrand/sjacket)
 trying to see if we could make that work for renaming. Once I'm confident
 that direction will work I'm happy to throw some code up on Github. If
 someone beats me to it then I'd like to contribute to their project.

 I just created a #clojure-refactoring channel up on Freenode to make it
 easier to collaborate. We can rename the node once a name emerges for a new
 project.


 Please note that I've also created a project entry for the Google Summer
 Of Code for this : creating refactoring library + integration of it into
 Counterclockwise : http://dev.clojure.org/**display/community/Project+**
 Ideas#ProjectIdeas-**RefactoringfeatureforCCWotherI**DEshttp://dev.clojure.org/display/community/Project+Ideas#ProjectIdeas-RefactoringfeatureforCCWotherIDEs

 I think writing a refactoring library with more than one client in mind
 (e.g. a command line client as well as an IDE client) is interesting
 because it will help shape its API (for instance, an IDE client will
 usually want to offer a view of the modifications to be applied, thus
 refactoring can have a review step).

 Cheers,

 --
 Laurent



 On Thursday, March 21, 2013 12:12:42 AM UTC-6, Akhil Wali wrote:

 A fairly new project for refactoring Clojure is clj-refactor.el.
 Not too much functionality yet, but supplements clojure-refactoring
 pretty well.
 clj-refactor.el will later interop with nRepl, or that's the plan I
 heard.

 That aside (and I know I'm being redundant), refactoring any Lisp is a
 snap with paredit-mode.
 It doesn't do stuff like renaming a function or exracting a var, but
 I've had some success in making these operations as interactive functions.



 On Thu, Mar 21, 2013 at 8:11 AM, Devin Walters dev...@gmail.comwrote:

 Yeah it sort of bums me out that clojure-refactoring has been in the
 ditch.

 There are a number of tasks to get this back into a good state. The
 plan right now is to take tests (which were mostly failing and using
 outdated dependencies) from the old-test directory and get them passing
 under Midje. Then, get it to play nicely with nrepl and update any elisp
 that needs updating to bring back the clojure-refactoring minor mode.

 If anyone wants to help resurrect this project: https://github.com/**
 de**vn/clojure-refactoring/tree/**cl**ojure-1.5https://github.com/devn/clojure-refactoring/tree/clojure-1.5
  your
 help would be appreciated. I created a new branch and started
 bringing old failing tests over. Feel free to drop me a pull request. 
 Big,
 sweeping commits and tiny typo commits are both equally welcome.

 On Wednesday, March 20, 2013 at 8:22 PM, Dave Kincaid wrote:

 Thanks. It looks like nothing has happened on that in a year and it
 appears to require slime/swank. But it's a start I guess if there isn't
 anything else.

 On Wednesday, March 20, 2013 6:13:30 PM UTC-7, Devin Walters (devn)
 wrote:

  I don't think much has happened with it recently, but I used to use
 https://github.com/joodie/**clojure-refactoringhttps://github.com/joodie/clojure-refactoring
 .

 --
 '(Devin Walters)
 Sent from my Motorola RAZR V3 (Matte Black)

 On Wednesday, March 20, 2013 at 8:05 PM, Dave Kincaid wrote:

 I'm wondering if there are any refactoring tools around for working
 with Clojure projects in Emacs. There seems to be all kinds of other 
 tools
 except for refactoring. I'm really looking for simple things like ways to
 easily rename variables, functions, namespaces, etc. That seems to be the
 most common thing I'm trying to do

Re: Refactoring tools

2013-03-23 Thread Alex Baranosky
Korny,

Slamhound does some of what you're talking about, but not as an editor
extension, https://github.com/technomancy/slamhound

On Sat, Mar 23, 2013 at 6:58 PM, Korny Sietsma ko...@sietsma.com wrote:

 I'd also love something to optimise the ns form - I'm regularly doing
 tasks by hand that could in theory be automated; adding a new
 not-yet-imported library can be quite tedious, it'd be great to be able to
 type (defdb and be able to hit a key combo to add a new :require entry.
  A generalised organise imports would also be nice, to remove unused
 imports, convert :use to :require, turn :refer :all into :as and the
 like.

 Oh, and a pony!  Can I have a pony, too?  :)

 - Korny
 On 23 Mar 2013 14:30, Russell Mull russell.m...@gmail.com wrote:

 I find myself doing that a lot by hand, a tool to help would be very
 useful. Some others that I've thought of are:

 - change between (fn [x] ...) and #(...)
 - pull sexp up to let, or introduce a new let (like introduce variable in
 java et. al)


 On Saturday, March 23, 2013 10:42:10 AM UTC+9, Alex Baranosky wrote:

 I'd really like to see a way to factor to code that uses -/- and back
 again.

 On Fri, Mar 22, 2013 at 12:01 PM, Laurent PETIT lauren...@gmail.comwrote:

 2013/3/22 Daniel Glauser dangl...@gmail.com

 I feel your pain, would love to see some Clojure refactorings. I had
 started working on the 1.3 branch of clojure-refactoring trying to bring 
 it
 up to speed. I met with Tony (the original author of clojure-refactoring)
 and Phil H. at Clojure/West. Tony was very adamant that we ditch his code
 and start over. Currently I'm doing some experimenting with sjacket (
 https://github.com/cgrand/**sjackethttps://github.com/cgrand/sjacket)
 trying to see if we could make that work for renaming. Once I'm confident
 that direction will work I'm happy to throw some code up on Github. If
 someone beats me to it then I'd like to contribute to their project.

 I just created a #clojure-refactoring channel up on Freenode to make
 it easier to collaborate. We can rename the node once a name emerges for a
 new project.


 Please note that I've also created a project entry for the Google
 Summer Of Code for this : creating refactoring library + integration of it
 into Counterclockwise : http://dev.clojure.org/**
 display/community/Project+**Ideas#ProjectIdeas-**
 RefactoringfeatureforCCWotherI**DEshttp://dev.clojure.org/display/community/Project+Ideas#ProjectIdeas-RefactoringfeatureforCCWotherIDEs

 I think writing a refactoring library with more than one client in mind
 (e.g. a command line client as well as an IDE client) is interesting
 because it will help shape its API (for instance, an IDE client will
 usually want to offer a view of the modifications to be applied, thus
 refactoring can have a review step).

 Cheers,

 --
 Laurent



 On Thursday, March 21, 2013 12:12:42 AM UTC-6, Akhil Wali wrote:

 A fairly new project for refactoring Clojure is clj-refactor.el.
 Not too much functionality yet, but supplements clojure-refactoring
 pretty well.
 clj-refactor.el will later interop with nRepl, or that's the plan I
 heard.

 That aside (and I know I'm being redundant), refactoring any Lisp is
 a snap with paredit-mode.
 It doesn't do stuff like renaming a function or exracting a var, but
 I've had some success in making these operations as interactive 
 functions.



 On Thu, Mar 21, 2013 at 8:11 AM, Devin Walters dev...@gmail.comwrote:

 Yeah it sort of bums me out that clojure-refactoring has been in the
 ditch.

 There are a number of tasks to get this back into a good state. The
 plan right now is to take tests (which were mostly failing and using
 outdated dependencies) from the old-test directory and get them passing
 under Midje. Then, get it to play nicely with nrepl and update any elisp
 that needs updating to bring back the clojure-refactoring minor mode.

 If anyone wants to help resurrect this project: https://github.com/*
 *de**vn/clojure-refactoring/tree/**cl**ojure-1.5https://github.com/devn/clojure-refactoring/tree/clojure-1.5
  your
 help would be appreciated. I created a new branch and started
 bringing old failing tests over. Feel free to drop me a pull request. 
 Big,
 sweeping commits and tiny typo commits are both equally welcome.

 On Wednesday, March 20, 2013 at 8:22 PM, Dave Kincaid wrote:

 Thanks. It looks like nothing has happened on that in a year and it
 appears to require slime/swank. But it's a start I guess if there isn't
 anything else.

 On Wednesday, March 20, 2013 6:13:30 PM UTC-7, Devin Walters (devn)
 wrote:

  I don't think much has happened with it recently, but I used to
 use 
 https://github.com/joodie/**clojure-refactoringhttps://github.com/joodie/clojure-refactoring
 .

 --
 '(Devin Walters)
 Sent from my Motorola RAZR V3 (Matte Black)

 On Wednesday, March 20, 2013 at 8:05 PM, Dave Kincaid wrote:

 I'm wondering if there are any refactoring tools around for working
 with Clojure projects in Emacs

Re: Refactoring tools

2013-03-23 Thread Devin Walters
Slamhound does some of what you're looking for.
—
Sent via Mobile

On Sat, Mar 23, 2013 at 8:59 PM, Korny Sietsma ko...@sietsma.com wrote:

 I'd also love something to optimise the ns form - I'm regularly doing
 tasks by hand that could in theory be automated; adding a new
 not-yet-imported library can be quite tedious, it'd be great to be able to
 type (defdb and be able to hit a key combo to add a new :require entry.
  A generalised organise imports would also be nice, to remove unused
 imports, convert :use to :require, turn :refer :all into :as and the
 like.
 Oh, and a pony!  Can I have a pony, too?  :)
 - Korny
 On 23 Mar 2013 14:30, Russell Mull russell.m...@gmail.com wrote:
 I find myself doing that a lot by hand, a tool to help would be very
 useful. Some others that I've thought of are:

 - change between (fn [x] ...) and #(...)
 - pull sexp up to let, or introduce a new let (like introduce variable in
 java et. al)


 On Saturday, March 23, 2013 10:42:10 AM UTC+9, Alex Baranosky wrote:

 I'd really like to see a way to factor to code that uses -/- and back
 again.

 On Fri, Mar 22, 2013 at 12:01 PM, Laurent PETIT lauren...@gmail.comwrote:

 2013/3/22 Daniel Glauser dangl...@gmail.com

 I feel your pain, would love to see some Clojure refactorings. I had
 started working on the 1.3 branch of clojure-refactoring trying to bring 
 it
 up to speed. I met with Tony (the original author of clojure-refactoring)
 and Phil H. at Clojure/West. Tony was very adamant that we ditch his code
 and start over. Currently I'm doing some experimenting with sjacket (
 https://github.com/cgrand/**sjacket https://github.com/cgrand/sjacket)
 trying to see if we could make that work for renaming. Once I'm confident
 that direction will work I'm happy to throw some code up on Github. If
 someone beats me to it then I'd like to contribute to their project.

 I just created a #clojure-refactoring channel up on Freenode to make it
 easier to collaborate. We can rename the node once a name emerges for a 
 new
 project.


 Please note that I've also created a project entry for the Google Summer
 Of Code for this : creating refactoring library + integration of it into
 Counterclockwise : http://dev.clojure.org/**display/community/Project+**
 Ideas#ProjectIdeas-**RefactoringfeatureforCCWotherI**DEshttp://dev.clojure.org/display/community/Project+Ideas#ProjectIdeas-RefactoringfeatureforCCWotherIDEs

 I think writing a refactoring library with more than one client in mind
 (e.g. a command line client as well as an IDE client) is interesting
 because it will help shape its API (for instance, an IDE client will
 usually want to offer a view of the modifications to be applied, thus
 refactoring can have a review step).

 Cheers,

 --
 Laurent



 On Thursday, March 21, 2013 12:12:42 AM UTC-6, Akhil Wali wrote:

 A fairly new project for refactoring Clojure is clj-refactor.el.
 Not too much functionality yet, but supplements clojure-refactoring
 pretty well.
 clj-refactor.el will later interop with nRepl, or that's the plan I
 heard.

 That aside (and I know I'm being redundant), refactoring any Lisp is a
 snap with paredit-mode.
 It doesn't do stuff like renaming a function or exracting a var, but
 I've had some success in making these operations as interactive 
 functions.



 On Thu, Mar 21, 2013 at 8:11 AM, Devin Walters dev...@gmail.comwrote:

 Yeah it sort of bums me out that clojure-refactoring has been in the
 ditch.

 There are a number of tasks to get this back into a good state. The
 plan right now is to take tests (which were mostly failing and using
 outdated dependencies) from the old-test directory and get them passing
 under Midje. Then, get it to play nicely with nrepl and update any elisp
 that needs updating to bring back the clojure-refactoring minor mode.

 If anyone wants to help resurrect this project: https://github.com/**
 de**vn/clojure-refactoring/tree/**cl**ojure-1.5https://github.com/devn/clojure-refactoring/tree/clojure-1.5
  your
 help would be appreciated. I created a new branch and started
 bringing old failing tests over. Feel free to drop me a pull request. 
 Big,
 sweeping commits and tiny typo commits are both equally welcome.

 On Wednesday, March 20, 2013 at 8:22 PM, Dave Kincaid wrote:

 Thanks. It looks like nothing has happened on that in a year and it
 appears to require slime/swank. But it's a start I guess if there isn't
 anything else.

 On Wednesday, March 20, 2013 6:13:30 PM UTC-7, Devin Walters (devn)
 wrote:

  I don't think much has happened with it recently, but I used to use
 https://github.com/joodie/**clojure-refactoringhttps://github.com/joodie/clojure-refactoring
 .

 --
 '(Devin Walters)
 Sent from my Motorola RAZR V3 (Matte Black)

 On Wednesday, March 20, 2013 at 8:05 PM, Dave Kincaid wrote:

 I'm wondering if there are any refactoring tools around for working
 with Clojure projects in Emacs. There seems to be all kinds of other 
 tools
 except for refactoring. I'm

Re: Refactoring tools

2013-03-23 Thread Korny Sietsma
 at 8:05 PM, Dave Kincaid wrote:

 I'm wondering if there are any refactoring tools around for working
 with Clojure projects in Emacs. There seems to be all kinds of other 
 tools
 except for refactoring. I'm really looking for simple things like ways 
 to
 easily rename variables, functions, namespaces, etc. That seems to be 
 the
 most common thing I'm trying to do. Are there any tools out there to 
 make
 it easier?

 Thanks,

 Dave

 --
 --
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clo...@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+u...@**googlegroups.com
 For more options, visit this group at
 http://groups.google.com/**group/clojure?hl=enhttp://groups.google.com/group/clojure?hl=en
 ---
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To unsubscribe from this group and stop receiving emails from it,
 send an email to clojure+u...@**googlegroups.com.
 For more options, visit https://groups.google.com/**grou
 ps/opt_out https://groups.google.com/groups/opt_out.




  --
 --
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clo...@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+u...@**googlegroups.com
 For more options, visit this group at
 http://groups.google.com/**group**/clojure?hl=enhttp://groups.google.com/group/clojure?hl=en
 ---
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To unsubscribe from this group and stop receiving emails from it,
 send an email to clojure+u...@**googlegroups.com.
 For more options, visit https://groups.google.com/**grou**
 ps/opt_out https://groups.google.com/groups/opt_out.




  --
 --
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clo...@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+u...@**googlegroups.com
 For more options, visit this group at
 http://groups.google.com/**group**/clojure?hl=enhttp://groups.google.com/group/clojure?hl=en
 ---
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To unsubscribe from this group and stop receiving emails from it,
 send an email to clojure+u...@**googlegroups.com.
 For more options, visit https://groups.google.com/**grou**
 ps/opt_out https://groups.google.com/groups/opt_out.






 --
 Akhil Wali

 # http://github.com/darth10 https://github.com/darth10
 # http://darth10.github.com

   --
 --
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clo...@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+u...@**googlegroups.com
 For more options, visit this group at
 http://groups.google.com/**group/clojure?hl=enhttp://groups.google.com/group/clojure?hl=en
 ---
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To unsubscribe from this group and stop receiving emails from it,
 send an email to clojure+u...@**googlegroups.com.
 For more options, visit 
 https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out
 .




  --
 --
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clo...@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+u...@**googlegroups.com
 For more options, visit this group at
 http://groups.google.com/**group/clojure?hl=enhttp://groups.google.com/group/clojure?hl=en
 ---
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to clojure+u...@**googlegroups.com.
 For more options, visit 
 https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out
 .




  --
 --
 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
 ---
 You received this message because you

Re: Refactoring tools

2013-03-22 Thread Daniel Glauser
I feel your pain, would love to see some Clojure refactorings. I had 
started working on the 1.3 branch of clojure-refactoring trying to bring it 
up to speed. I met with Tony (the original author of clojure-refactoring) 
and Phil H. at Clojure/West. Tony was very adamant that we ditch his code 
and start over. Currently I'm doing some experimenting with sjacket 
(https://github.com/cgrand/sjacket) trying to see if we could make that 
work for renaming. Once I'm confident that direction will work I'm happy to 
throw some code up on Github. If someone beats me to it then I'd like to 
contribute to their project.

I just created a #clojure-refactoring channel up on Freenode to make it 
easier to collaborate. We can rename the node once a name emerges for a new 
project.

On Thursday, March 21, 2013 12:12:42 AM UTC-6, Akhil Wali wrote:

 A fairly new project for refactoring Clojure is clj-refactor.el.
 Not too much functionality yet, but supplements clojure-refactoring pretty 
 well. 
 clj-refactor.el will later interop with nRepl, or that's the plan I heard.

 That aside (and I know I'm being redundant), refactoring any Lisp is a 
 snap with paredit-mode.
 It doesn't do stuff like renaming a function or exracting a var, but I've 
 had some success in making these operations as interactive functions. 



 On Thu, Mar 21, 2013 at 8:11 AM, Devin Walters dev...@gmail.comjavascript:
  wrote:

 Yeah it sort of bums me out that clojure-refactoring has been in the 
 ditch.

 There are a number of tasks to get this back into a good state. The plan 
 right now is to take tests (which were mostly failing and using outdated 
 dependencies) from the old-test directory and get them passing under Midje. 
 Then, get it to play nicely with nrepl and update any elisp that needs 
 updating to bring back the clojure-refactoring minor mode.

 If anyone wants to help resurrect this project: 
 https://github.com/devn/clojure-refactoring/tree/clojure-1.5 your help 
 would be appreciated. I created a new branch and started bringing old 
 failing tests over. Feel free to drop me a pull request. Big, sweeping 
 commits and tiny typo commits are both equally welcome.
  
 On Wednesday, March 20, 2013 at 8:22 PM, Dave Kincaid wrote:

 Thanks. It looks like nothing has happened on that in a year and it 
 appears to require slime/swank. But it's a start I guess if there isn't 
 anything else.

 On Wednesday, March 20, 2013 6:13:30 PM UTC-7, Devin Walters (devn) wrote:

  I don't think much has happened with it recently, but I used to use 
 https://github.com/joodie/**clojure-refactoringhttps://github.com/joodie/clojure-refactoring
 .

 -- 
 '(Devin Walters)
 Sent from my Motorola RAZR V3 (Matte Black)

 On Wednesday, March 20, 2013 at 8:05 PM, Dave Kincaid wrote:

 I'm wondering if there are any refactoring tools around for working with 
 Clojure projects in Emacs. There seems to be all kinds of other tools 
 except for refactoring. I'm really looking for simple things like ways to 
 easily rename variables, functions, namespaces, etc. That seems to be the 
 most common thing I'm trying to do. Are there any tools out there to make 
 it easier?

 Thanks,

 Dave

 -- 
 -- 
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clo...@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+u...@**googlegroups.com
 For more options, visit this group at
 http://groups.google.com/**group/clojure?hl=enhttp://groups.google.com/group/clojure?hl=en
 --- 
 You received this message because you are subscribed to the Google Groups 
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to clojure+u...@**googlegroups.com.
 For more options, visit 
 https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out
 .
  
  
  

  -- 
 -- 
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clo...@googlegroups.comjavascript:
 Note that posts from new members are moderated - please be patient with 
 your first post.
 To unsubscribe from this group, send email to
 clojure+u...@googlegroups.com javascript:
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 --- 
 You received this message because you are subscribed to the Google Groups 
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to clojure+u...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.
  
  
  
  
  -- 
 -- 
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clo...@googlegroups.comjavascript:
 Note that posts from new members are moderated - please be patient with 
 your

Re: Refactoring tools

2013-03-22 Thread Laurent PETIT
2013/3/22 Daniel Glauser danglau...@gmail.com

 I feel your pain, would love to see some Clojure refactorings. I had
 started working on the 1.3 branch of clojure-refactoring trying to bring it
 up to speed. I met with Tony (the original author of clojure-refactoring)
 and Phil H. at Clojure/West. Tony was very adamant that we ditch his code
 and start over. Currently I'm doing some experimenting with sjacket (
 https://github.com/cgrand/sjacket) trying to see if we could make that
 work for renaming. Once I'm confident that direction will work I'm happy to
 throw some code up on Github. If someone beats me to it then I'd like to
 contribute to their project.

 I just created a #clojure-refactoring channel up on Freenode to make it
 easier to collaborate. We can rename the node once a name emerges for a new
 project.


Please note that I've also created a project entry for the Google Summer Of
Code for this : creating refactoring library + integration of it into
Counterclockwise :
http://dev.clojure.org/display/community/Project+Ideas#ProjectIdeas-RefactoringfeatureforCCWotherIDEs

I think writing a refactoring library with more than one client in mind
(e.g. a command line client as well as an IDE client) is interesting
because it will help shape its API (for instance, an IDE client will
usually want to offer a view of the modifications to be applied, thus
refactoring can have a review step).

Cheers,

-- 
Laurent



 On Thursday, March 21, 2013 12:12:42 AM UTC-6, Akhil Wali wrote:

 A fairly new project for refactoring Clojure is clj-refactor.el.
 Not too much functionality yet, but supplements clojure-refactoring
 pretty well.
 clj-refactor.el will later interop with nRepl, or that's the plan I heard.

 That aside (and I know I'm being redundant), refactoring any Lisp is a
 snap with paredit-mode.
 It doesn't do stuff like renaming a function or exracting a var, but I've
 had some success in making these operations as interactive functions.



 On Thu, Mar 21, 2013 at 8:11 AM, Devin Walters dev...@gmail.com wrote:

 Yeah it sort of bums me out that clojure-refactoring has been in the
 ditch.

 There are a number of tasks to get this back into a good state. The plan
 right now is to take tests (which were mostly failing and using outdated
 dependencies) from the old-test directory and get them passing under Midje.
 Then, get it to play nicely with nrepl and update any elisp that needs
 updating to bring back the clojure-refactoring minor mode.

 If anyone wants to help resurrect this project: https://github.com/**
 devn/clojure-refactoring/tree/**clojure-1.5https://github.com/devn/clojure-refactoring/tree/clojure-1.5
  your
 help would be appreciated. I created a new branch and started bringing
 old failing tests over. Feel free to drop me a pull request. Big, sweeping
 commits and tiny typo commits are both equally welcome.

 On Wednesday, March 20, 2013 at 8:22 PM, Dave Kincaid wrote:

 Thanks. It looks like nothing has happened on that in a year and it
 appears to require slime/swank. But it's a start I guess if there isn't
 anything else.

 On Wednesday, March 20, 2013 6:13:30 PM UTC-7, Devin Walters (devn)
 wrote:

  I don't think much has happened with it recently, but I used to use
 https://github.com/joodie/clojure-refactoringhttps://github.com/joodie/clojure-refactoring
 .

 --
 '(Devin Walters)
 Sent from my Motorola RAZR V3 (Matte Black)

 On Wednesday, March 20, 2013 at 8:05 PM, Dave Kincaid wrote:

 I'm wondering if there are any refactoring tools around for working with
 Clojure projects in Emacs. There seems to be all kinds of other tools
 except for refactoring. I'm really looking for simple things like ways to
 easily rename variables, functions, namespaces, etc. That seems to be the
 most common thing I'm trying to do. Are there any tools out there to make
 it easier?

 Thanks,

 Dave

 --
 --
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clo...@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+u...@**googlegroups.com
 For more options, visit this group at
 http://groups.google.com/**group**/clojure?hl=enhttp://groups.google.com/group/clojure?hl=en
 ---
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to clojure+u...@**googlegroups.com.
 For more options, visit 
 https://groups.google.com/**grou**ps/opt_outhttps://groups.google.com/groups/opt_out
 .




  --
 --
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clo...@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+u

Re: Refactoring tools

2013-03-22 Thread Alex Baranosky
I'd really like to see a way to factor to code that uses -/- and back
again.

On Fri, Mar 22, 2013 at 12:01 PM, Laurent PETIT laurent.pe...@gmail.comwrote:

 2013/3/22 Daniel Glauser danglau...@gmail.com

 I feel your pain, would love to see some Clojure refactorings. I had
 started working on the 1.3 branch of clojure-refactoring trying to bring it
 up to speed. I met with Tony (the original author of clojure-refactoring)
 and Phil H. at Clojure/West. Tony was very adamant that we ditch his code
 and start over. Currently I'm doing some experimenting with sjacket (
 https://github.com/cgrand/sjacket) trying to see if we could make that
 work for renaming. Once I'm confident that direction will work I'm happy to
 throw some code up on Github. If someone beats me to it then I'd like to
 contribute to their project.

 I just created a #clojure-refactoring channel up on Freenode to make it
 easier to collaborate. We can rename the node once a name emerges for a new
 project.


 Please note that I've also created a project entry for the Google Summer
 Of Code for this : creating refactoring library + integration of it into
 Counterclockwise :
 http://dev.clojure.org/display/community/Project+Ideas#ProjectIdeas-RefactoringfeatureforCCWotherIDEs

 I think writing a refactoring library with more than one client in mind
 (e.g. a command line client as well as an IDE client) is interesting
 because it will help shape its API (for instance, an IDE client will
 usually want to offer a view of the modifications to be applied, thus
 refactoring can have a review step).

 Cheers,

 --
 Laurent



 On Thursday, March 21, 2013 12:12:42 AM UTC-6, Akhil Wali wrote:

 A fairly new project for refactoring Clojure is clj-refactor.el.
 Not too much functionality yet, but supplements clojure-refactoring
 pretty well.
 clj-refactor.el will later interop with nRepl, or that's the plan I
 heard.

 That aside (and I know I'm being redundant), refactoring any Lisp is a
 snap with paredit-mode.
 It doesn't do stuff like renaming a function or exracting a var, but
 I've had some success in making these operations as interactive functions.



 On Thu, Mar 21, 2013 at 8:11 AM, Devin Walters dev...@gmail.com wrote:

 Yeah it sort of bums me out that clojure-refactoring has been in the
 ditch.

 There are a number of tasks to get this back into a good state. The
 plan right now is to take tests (which were mostly failing and using
 outdated dependencies) from the old-test directory and get them passing
 under Midje. Then, get it to play nicely with nrepl and update any elisp
 that needs updating to bring back the clojure-refactoring minor mode.

 If anyone wants to help resurrect this project: https://github.com/**
 devn/clojure-refactoring/tree/**clojure-1.5https://github.com/devn/clojure-refactoring/tree/clojure-1.5
  your
 help would be appreciated. I created a new branch and started bringing
 old failing tests over. Feel free to drop me a pull request. Big, sweeping
 commits and tiny typo commits are both equally welcome.

 On Wednesday, March 20, 2013 at 8:22 PM, Dave Kincaid wrote:

 Thanks. It looks like nothing has happened on that in a year and it
 appears to require slime/swank. But it's a start I guess if there isn't
 anything else.

 On Wednesday, March 20, 2013 6:13:30 PM UTC-7, Devin Walters (devn)
 wrote:

  I don't think much has happened with it recently, but I used to use
 https://github.com/joodie/clojure-refactoringhttps://github.com/joodie/clojure-refactoring
 .

 --
 '(Devin Walters)
 Sent from my Motorola RAZR V3 (Matte Black)

 On Wednesday, March 20, 2013 at 8:05 PM, Dave Kincaid wrote:

 I'm wondering if there are any refactoring tools around for working
 with Clojure projects in Emacs. There seems to be all kinds of other tools
 except for refactoring. I'm really looking for simple things like ways to
 easily rename variables, functions, namespaces, etc. That seems to be the
 most common thing I'm trying to do. Are there any tools out there to make
 it easier?

 Thanks,

 Dave

 --
 --
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clo...@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+u...@**googlegroups.com
 For more options, visit this group at
 http://groups.google.com/**group**/clojure?hl=enhttp://groups.google.com/group/clojure?hl=en
 ---
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to clojure+u...@**googlegroups.com.
 For more options, visit 
 https://groups.google.com/**grou**ps/opt_outhttps://groups.google.com/groups/opt_out
 .




  --
 --
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clo

Re: Refactoring tools

2013-03-22 Thread Russell Mull
I find myself doing that a lot by hand, a tool to help would be very 
useful. Some others that I've thought of are:

- change between (fn [x] ...) and #(...)
- pull sexp up to let, or introduce a new let (like introduce variable in 
java et. al)


On Saturday, March 23, 2013 10:42:10 AM UTC+9, Alex Baranosky wrote:

 I'd really like to see a way to factor to code that uses -/- and back 
 again.

 On Fri, Mar 22, 2013 at 12:01 PM, Laurent PETIT 
 lauren...@gmail.comjavascript:
  wrote:

 2013/3/22 Daniel Glauser dangl...@gmail.com javascript:

 I feel your pain, would love to see some Clojure refactorings. I had 
 started working on the 1.3 branch of clojure-refactoring trying to bring it 
 up to speed. I met with Tony (the original author of clojure-refactoring) 
 and Phil H. at Clojure/West. Tony was very adamant that we ditch his code 
 and start over. Currently I'm doing some experimenting with sjacket (
 https://github.com/cgrand/sjacket) trying to see if we could make that 
 work for renaming. Once I'm confident that direction will work I'm happy to 
 throw some code up on Github. If someone beats me to it then I'd like to 
 contribute to their project.

 I just created a #clojure-refactoring channel up on Freenode to make it 
 easier to collaborate. We can rename the node once a name emerges for a new 
 project.


 Please note that I've also created a project entry for the Google Summer 
 Of Code for this : creating refactoring library + integration of it into 
 Counterclockwise : 
 http://dev.clojure.org/display/community/Project+Ideas#ProjectIdeas-RefactoringfeatureforCCWotherIDEs

 I think writing a refactoring library with more than one client in mind 
 (e.g. a command line client as well as an IDE client) is interesting 
 because it will help shape its API (for instance, an IDE client will 
 usually want to offer a view of the modifications to be applied, thus 
 refactoring can have a review step).

 Cheers,

 -- 
 Laurent
  


 On Thursday, March 21, 2013 12:12:42 AM UTC-6, Akhil Wali wrote:

 A fairly new project for refactoring Clojure is clj-refactor.el.
 Not too much functionality yet, but supplements clojure-refactoring 
 pretty well. 
 clj-refactor.el will later interop with nRepl, or that's the plan I 
 heard.

 That aside (and I know I'm being redundant), refactoring any Lisp is a 
 snap with paredit-mode.
 It doesn't do stuff like renaming a function or exracting a var, but 
 I've had some success in making these operations as interactive functions. 



 On Thu, Mar 21, 2013 at 8:11 AM, Devin Walters dev...@gmail.comwrote:

 Yeah it sort of bums me out that clojure-refactoring has been in the 
 ditch.

 There are a number of tasks to get this back into a good state. The 
 plan right now is to take tests (which were mostly failing and using 
 outdated dependencies) from the old-test directory and get them passing 
 under Midje. Then, get it to play nicely with nrepl and update any elisp 
 that needs updating to bring back the clojure-refactoring minor mode.

 If anyone wants to help resurrect this project: https://github.com/**
 devn/clojure-refactoring/tree/**clojure-1.5https://github.com/devn/clojure-refactoring/tree/clojure-1.5
  your 
 help would be appreciated. I created a new branch and started 
 bringing old failing tests over. Feel free to drop me a pull request. 
 Big, 
 sweeping commits and tiny typo commits are both equally welcome.
  
 On Wednesday, March 20, 2013 at 8:22 PM, Dave Kincaid wrote:

 Thanks. It looks like nothing has happened on that in a year and it 
 appears to require slime/swank. But it's a start I guess if there isn't 
 anything else.

 On Wednesday, March 20, 2013 6:13:30 PM UTC-7, Devin Walters (devn) 
 wrote:

  I don't think much has happened with it recently, but I used to use 
 https://github.com/joodie/clojure-refactoringhttps://github.com/joodie/clojure-refactoring
 .

 -- 
 '(Devin Walters)
 Sent from my Motorola RAZR V3 (Matte Black)

 On Wednesday, March 20, 2013 at 8:05 PM, Dave Kincaid wrote:

 I'm wondering if there are any refactoring tools around for working 
 with Clojure projects in Emacs. There seems to be all kinds of other 
 tools 
 except for refactoring. I'm really looking for simple things like ways to 
 easily rename variables, functions, namespaces, etc. That seems to be the 
 most common thing I'm trying to do. Are there any tools out there to make 
 it easier?

 Thanks,

 Dave

 -- 
 -- 
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clo...@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+u...@**googlegroups.com
 For more options, visit this group at
 http://groups.google.com/**group**/clojure?hl=enhttp://groups.google.com/group/clojure?hl=en
 --- 
 You received this message because you are subscribed to the Google 
 Groups

Re: Refactoring tools

2013-03-21 Thread Akhil Wali
A fairly new project for refactoring Clojure is clj-refactor.el.
Not too much functionality yet, but supplements clojure-refactoring pretty
well.
clj-refactor.el will later interop with nRepl, or that's the plan I heard.

That aside (and I know I'm being redundant), refactoring any Lisp is a snap
with paredit-mode.
It doesn't do stuff like renaming a function or exracting a var, but I've
had some success in making these operations as interactive functions.



On Thu, Mar 21, 2013 at 8:11 AM, Devin Walters dev...@gmail.com wrote:

 Yeah it sort of bums me out that clojure-refactoring has been in the ditch.

 There are a number of tasks to get this back into a good state. The plan
 right now is to take tests (which were mostly failing and using outdated
 dependencies) from the old-test directory and get them passing under Midje.
 Then, get it to play nicely with nrepl and update any elisp that needs
 updating to bring back the clojure-refactoring minor mode.

 If anyone wants to help resurrect this project:
 https://github.com/devn/clojure-refactoring/tree/clojure-1.5 your help
 would be appreciated. I created a new branch and started bringing old
 failing tests over. Feel free to drop me a pull request. Big, sweeping
 commits and tiny typo commits are both equally welcome.

 On Wednesday, March 20, 2013 at 8:22 PM, Dave Kincaid wrote:

 Thanks. It looks like nothing has happened on that in a year and it
 appears to require slime/swank. But it's a start I guess if there isn't
 anything else.

 On Wednesday, March 20, 2013 6:13:30 PM UTC-7, Devin Walters (devn) wrote:

  I don't think much has happened with it recently, but I used to use
 https://github.com/joodie/**clojure-refactoringhttps://github.com/joodie/clojure-refactoring
 .

 --
 '(Devin Walters)
 Sent from my Motorola RAZR V3 (Matte Black)

 On Wednesday, March 20, 2013 at 8:05 PM, Dave Kincaid wrote:

 I'm wondering if there are any refactoring tools around for working with
 Clojure projects in Emacs. There seems to be all kinds of other tools
 except for refactoring. I'm really looking for simple things like ways to
 easily rename variables, functions, namespaces, etc. That seems to be the
 most common thing I'm trying to do. Are there any tools out there to make
 it easier?

 Thanks,

 Dave

 --
 --
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clo...@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+u...@**googlegroups.com
 For more options, visit this group at
 http://groups.google.com/**group/clojure?hl=enhttp://groups.google.com/group/clojure?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to clojure+u...@**googlegroups.com.
 For more options, visit 
 https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out
 .




  --
 --
 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
 ---
 You received this message because you are subscribed to the Google Groups
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




  --
 --
 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
 ---
 You received this message because you are subscribed to the Google Groups
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Akhil Wali

# http://github.com/darth10 https://github.com/darth10
# http://darth10.github.com

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

Refactoring tools

2013-03-20 Thread Dave Kincaid
I'm wondering if there are any refactoring tools around for working with 
Clojure projects in Emacs. There seems to be all kinds of other tools 
except for refactoring. I'm really looking for simple things like ways to 
easily rename variables, functions, namespaces, etc. That seems to be the 
most common thing I'm trying to do. Are there any tools out there to make 
it easier?

Thanks,

Dave

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Refactoring tools

2013-03-20 Thread Devin Walters
I don't think much has happened with it recently, but I used to use 
https://github.com/joodie/clojure-refactoring.

-- 
'(Devin Walters)
Sent from my Motorola RAZR V3 (Matte Black)


On Wednesday, March 20, 2013 at 8:05 PM, Dave Kincaid wrote:

 I'm wondering if there are any refactoring tools around for working with 
 Clojure projects in Emacs. There seems to be all kinds of other tools except 
 for refactoring. I'm really looking for simple things like ways to easily 
 rename variables, functions, namespaces, etc. That seems to be the most 
 common thing I'm trying to do. Are there any tools out there to make it 
 easier?
 
 Thanks,
 
 Dave 
 
 -- 
 -- 
 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 
 (mailto: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 
 (mailto:clojure+unsubscr...@googlegroups.com)
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 --- 
 You received this message because you are subscribed to the Google Groups 
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to clojure+unsubscr...@googlegroups.com 
 (mailto:clojure+unsubscr...@googlegroups.com).
 For more options, visit https://groups.google.com/groups/opt_out.
  
  

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Refactoring tools

2013-03-20 Thread Dave Kincaid
Thanks. It looks like nothing has happened on that in a year and it appears 
to require slime/swank. But it's a start I guess if there isn't anything 
else.

On Wednesday, March 20, 2013 6:13:30 PM UTC-7, Devin Walters (devn) wrote:

  I don't think much has happened with it recently, but I used to use 
 https://github.com/joodie/clojure-refactoring.

 -- 
 '(Devin Walters)
 Sent from my Motorola RAZR V3 (Matte Black)

 On Wednesday, March 20, 2013 at 8:05 PM, Dave Kincaid wrote:

 I'm wondering if there are any refactoring tools around for working with 
 Clojure projects in Emacs. There seems to be all kinds of other tools 
 except for refactoring. I'm really looking for simple things like ways to 
 easily rename variables, functions, namespaces, etc. That seems to be the 
 most common thing I'm trying to do. Are there any tools out there to make 
 it easier?

 Thanks,

 Dave

 -- 
 -- 
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clo...@googlegroups.com javascript:
 Note that posts from new members are moderated - please be patient with 
 your first post.
 To unsubscribe from this group, send email to
 clojure+u...@googlegroups.com javascript:
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 --- 
 You received this message because you are subscribed to the Google Groups 
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to clojure+u...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.
  
  
  
  
  

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Refactoring tools

2013-03-20 Thread Devin Walters
Yeah it sort of bums me out that clojure-refactoring has been in the ditch.

There are a number of tasks to get this back into a good state. The plan right 
now is to take tests (which were mostly failing and using outdated 
dependencies) from the old-test directory and get them passing under Midje. 
Then, get it to play nicely with nrepl and update any elisp that needs updating 
to bring back the clojure-refactoring minor mode.

If anyone wants to help resurrect this project: 
https://github.com/devn/clojure-refactoring/tree/clojure-1.5 your help would be 
appreciated. I created a new branch and started bringing old failing tests 
over. Feel free to drop me a pull request. Big, sweeping commits and tiny typo 
commits are both equally welcome. 

On Wednesday, March 20, 2013 at 8:22 PM, Dave Kincaid wrote:

 Thanks. It looks like nothing has happened on that in a year and it appears 
 to require slime/swank. But it's a start I guess if there isn't anything else.
 
 On Wednesday, March 20, 2013 6:13:30 PM UTC-7, Devin Walters (devn) wrote:
  I don't think much has happened with it recently, but I used to use 
  https://github.com/joodie/clojure-refactoring.
  
  -- 
  '(Devin Walters)
  Sent from my Motorola RAZR V3 (Matte Black)
  
  
  On Wednesday, March 20, 2013 at 8:05 PM, Dave Kincaid wrote:
  
   I'm wondering if there are any refactoring tools around for working with 
   Clojure projects in Emacs. There seems to be all kinds of other tools 
   except for refactoring. I'm really looking for simple things like ways to 
   easily rename variables, functions, namespaces, etc. That seems to be the 
   most common thing I'm trying to do. Are there any tools out there to make 
   it easier?
   
   Thanks,
   
   Dave 
   
   -- 
   -- 
   You received this message because you are subscribed to the Google
   Groups Clojure group.
   To post to this group, send email to clo...@googlegroups.com (javascript:)
   Note that posts from new members are moderated - please be patient with 
   your first post.
   To unsubscribe from this group, send email to
   clojure+u...@googlegroups.com (javascript:)
   For more options, visit this group at
   http://groups.google.com/group/clojure?hl=en
   --- 
   You received this message because you are subscribed to the Google Groups 
   Clojure group.
   To unsubscribe from this group and stop receiving emails from it, send an 
   email to clojure+u...@googlegroups.com (javascript:).
   For more options, visit https://groups.google.com/groups/opt_out.


  
 -- 
 -- 
 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 
 (mailto: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 
 (mailto:clojure+unsubscr...@googlegroups.com)
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 --- 
 You received this message because you are subscribed to the Google Groups 
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to clojure+unsubscr...@googlegroups.com 
 (mailto:clojure+unsubscr...@googlegroups.com).
 For more options, visit https://groups.google.com/groups/opt_out.
  
  

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.