Re: Multiple REPLs in Emacs? (was: test run startup time

2013-07-12 Thread Islon Scherer
Here at doo we have a shortcut "C-c X" where X is a number to change between nrepls. The code is in https://github.com/maxweber/emacs.d/blob/master/my/nrepl.el Note that the nrepl ports are hardcoded but it's good enough for us. Hope this helps. -- Islon On Thursday, July 11, 2013 11:53:31 PM

Re: Multiple REPLs in Emacs? (was: test run startup time

2013-07-11 Thread Sean Corfield
Thanx Jay. For whatever reason, multiple nREPL buffers has never worked for me before but on reading that I suspect I may just have had incorrect assumptions about how it was actually supposed to work... Sean On Thu, Jul 11, 2013 at 3:10 PM, Jay Fields wrote: > > > > On Thu, Jul 11, 2013 at 5:53

Re: Multiple REPLs in Emacs? (was: test run startup time

2013-07-11 Thread Jay Fields
On Thu, Jul 11, 2013 at 5:53 PM, Sean Corfield wrote: > On Wed, Jul 10, 2013 at 10:53 AM, Jay Fields wrote: > > I work in emacs with 2 repls running - 1 for running my app and 1 for > > running my tests. > > What is the magic to get this working and how does Emacs / nrepl.el > know which REPL to

Multiple REPLs in Emacs? (was: test run startup time

2013-07-11 Thread Sean Corfield
On Wed, Jul 10, 2013 at 10:53 AM, Jay Fields wrote: > I work in emacs with 2 repls running - 1 for running my app and 1 for > running my tests. What is the magic to get this working and how does Emacs / nrepl.el know which REPL to send commands to? I've often wanted multiple active REPLs (usuall

Re: test run startup time

2013-07-10 Thread Brian Marick
On Jul 10, 2013, at 12:36 PM, Brian Craft wrote: > The clojure start-up time is killing me, while working in a tight > edit-test-edit development loop. Is there any way to speed this up? I use autotest in a running repl. A screenshot and description about 2/3 of the way down this: https://g

Re: test run startup time

2013-07-10 Thread Jay Fields
There are significantly more productive ways to work, but they'll require you to know your environment well. I work in emacs with 2 repls running - 1 for running my app and 1 for running my tests. I use emacs-live[1], the unplugged-pack[2], & expectations[3] for my tests. In emacs 'switch projects

Re: test run startup time

2013-07-10 Thread Jim - FooBar();
On 10/07/13 18:36, Brian Craft wrote: The clojure start-up time is killing me, while working in a tight edit-test-edit development loop. Is there any way to speed this up? E.g. could the edited code be dynamically loaded, and the test suites run w/o restarting the jvm? of course you can! that

Re: test run startup time

2013-07-10 Thread Gary Trakhman
Real work is done with a repl embedded into a text editor with live eval. Running tests is just a function call away, clojure.test/run-tests. Here's a modern starting point: http://thinkrelevance.com/blog/2013/06/04/clojure-workflow-reloaded On Wed, Jul 10, 2013 at 1:36 PM, Brian Craft wrote:

test run startup time

2013-07-10 Thread Brian Craft
The clojure start-up time is killing me, while working in a tight edit-test-edit development loop. Is there any way to speed this up? E.g. could the edited code be dynamically loaded, and the test suites run w/o restarting the jvm? I have previously experimented with nailgun for starting the re