Re: Comparison of CCW and Enclojure

2011-05-19 Thread Ken Wesson
On Thu, May 19, 2011 at 5:48 PM, Ken Wesson wrote: > Found a new bug and it's a head-scratcher. And right on its heels, another one. CCW's REPL seems to have the desirable property that ctrl-dn at the most recent history item gets you a blank prompt. Or rather, it did. Now it gives me *clojure-ve

Re: Comparison of CCW and Enclojure

2011-05-19 Thread Ken Wesson
Found a new bug and it's a head-scratcher. Autocomplete quit working sometime overnight. Now I get a SocketException message "Software caused connection abort" if I hit control-space at the REPL. REPL process is connected OK -- I can evaluate forms at it -- so it's not the REPL-to-Eclipse socket co

Re: Comparison of CCW and Enclojure

2011-05-18 Thread Ken Wesson
Ooo boy. Looks like I spoke too soon when I said CCW lacks Enclojure's various bugs involving editing multiline forms with unmatched []s: => (map vector '[[* * .] # The correct behavior, of course, would have been => (map vector '[[* * .] | ; position of insertion point on new

Re: Comparison of CCW and Enclojure

2011-05-18 Thread Ken Wesson
On Wed, May 18, 2011 at 5:23 AM, Laurent PETIT wrote: > 2011/5/18 Ken Wesson : >> On Wed, May 18, 2011 at 4:24 AM, Laurent PETIT >> wrote: >>> Yes, it's vestigial from the old console-based REPL, and can certainly >>> be made a little more interesting (e.g. be triggered from the client >>> side

Re: Comparison of CCW and Enclojure

2011-05-18 Thread Laurent PETIT
2011/5/18 Ken Wesson : > On Wed, May 18, 2011 at 4:24 AM, Laurent PETIT > wrote: >> Yes, it's vestigial from the old console-based REPL, and can certainly >> be made a little more interesting (e.g. be triggered from the client >> side each time we receive a response from the nrepl server, in >> a

Re: Comparison of CCW and Enclojure

2011-05-18 Thread Ken Wesson
On Wed, May 18, 2011 at 4:24 AM, Laurent PETIT wrote: > Yes, it's vestigial from the old console-based REPL, and can certainly > be made a little more interesting (e.g. be triggered from the client > side each time we receive a response from the nrepl server, in > addition to adding an explicit "r

Re: Comparison of CCW and Enclojure

2011-05-18 Thread Laurent PETIT
2011/5/18 Sean Corfield : > On Wed, May 18, 2011 at 12:11 AM, Ken Wesson wrote: >> Ah. It's listed as an *editor* shortcut for evaluating a sexp from >> source code in the REPL, but there's no indication there that it works >> in the REPL's own editable region. > > Expectations again: I expected e

Re: Comparison of CCW and Enclojure

2011-05-18 Thread Laurent PETIT
2011/5/18 Chas Emerick : > > On May 17, 2011, at 9:50 PM, Ken Wesson wrote: > >> On Tue, May 17, 2011 at 9:04 AM, Chas Emerick wrote: >>> >>> On May 17, 2011, at 4:57 AM, Ken Wesson wrote: >>> * There's no easy way to restart a REPL or close one; one must close the REPL tab and also find

Re: Comparison of CCW and Enclojure

2011-05-18 Thread Laurent PETIT
Hello everybody, Sorry for late answers, but quite busy here at work ... anyway seems like you've already been on almost all points. It's indeed true that documentation needs some love. I've delayed this job, over & over, because I have been hesitating between having documentation on the wiki, o

Re: Comparison of CCW and Enclojure

2011-05-18 Thread Sean Corfield
On Wed, May 18, 2011 at 12:11 AM, Ken Wesson wrote: > Ah. It's listed as an *editor* shortcut for evaluating a sexp from > source code in the REPL, but there's no indication there that it works > in the REPL's own editable region. Expectations again: I expected every shortcut key to work in both

Re: Comparison of CCW and Enclojure

2011-05-18 Thread Ken Wesson
On Wed, May 18, 2011 at 3:01 AM, Sean Corfield wrote: > On Tue, May 17, 2011 at 10:20 PM, Ken Wesson wrote: >> Ah. There's nowhere where this seems to be documented, including the >> CCW section the install added to the Eclipse help browser. > > http://code.google.com/p/counterclockwise/wiki/Edit

Re: Comparison of CCW and Enclojure

2011-05-18 Thread Sean Corfield
On Tue, May 17, 2011 at 10:20 PM, Ken Wesson wrote: > Ah. There's nowhere where this seems to be documented, including the > CCW section the install added to the Eclipse help browser. http://code.google.com/p/counterclockwise/wiki/EditorKeyBindingsFeatures (note: ctl-alt-L does not work on Ubunt

Re: Comparison of CCW and Enclojure

2011-05-17 Thread Ken Wesson
On Tue, May 17, 2011 at 10:42 PM, Sean Corfield wrote: > On Tue, May 17, 2011 at 6:50 PM, Ken Wesson wrote: >> There doesn't seem to be a way to get CCW's version reported, short >> perhaps of triggering an attempt to update it, but I think it's >> 0.2.something. > > Help > About Eclipse SDK > In

Re: Comparison of CCW and Enclojure

2011-05-17 Thread Chas Emerick
On May 17, 2011, at 9:50 PM, Ken Wesson wrote: > On Tue, May 17, 2011 at 9:04 AM, Chas Emerick wrote: >> >> On May 17, 2011, at 4:57 AM, Ken Wesson wrote: >> >>> * There's no easy way to restart a REPL or close one; one must close >>> the REPL tab and also find and kill a java process using ps

Re: Comparison of CCW and Enclojure

2011-05-17 Thread Chas Emerick
On May 17, 2011, at 10:27 PM, Sean Corfield wrote: > On Tue, May 17, 2011 at 4:09 PM, Sean Corfield wrote: >> BTW, CCW 0.2.0.STABLE001 on my Mac works fine with Clojure 1.3.0 if I >> have nrepl 0.0.5 on the classpath. Doesn't work on Ubuntu. That might >> be a useful data point for tracking down

Re: Comparison of CCW and Enclojure

2011-05-17 Thread Chas Emerick
On May 17, 2011, at 10:42 PM, Sean Corfield wrote: >> 2. Enter in the middle of a REPL submission breaks the line even if >> the sexp lacks unmatched delims, unlike Enclojure. > > I've gotten used to using ctl-enter or shift-cmd-x to just submit the > form I'm typing so I don't need to jump to t

Re: Comparison of CCW and Enclojure

2011-05-17 Thread Sean Corfield
On Tue, May 17, 2011 at 6:50 PM, Ken Wesson wrote: > There doesn't seem to be a way to get CCW's version reported, short > perhaps of triggering an attempt to update it, but I think it's > 0.2.something. Help > About Eclipse SDK > Installation Details - You'll see a list of all installed plugins

Re: Comparison of CCW and Enclojure

2011-05-17 Thread Sean Corfield
On Tue, May 17, 2011 at 4:09 PM, Sean Corfield wrote: > BTW, CCW 0.2.0.STABLE001 on my Mac works fine with Clojure 1.3.0 if I > have nrepl 0.0.5 on the classpath. Doesn't work on Ubuntu. That might > be a useful data point for tracking down that problem I talked to you > about off-list. I'll try 0

Re: Comparison of CCW and Enclojure

2011-05-17 Thread Ken Wesson
On Tue, May 17, 2011 at 9:04 AM, Chas Emerick wrote: > > On May 17, 2011, at 4:57 AM, Ken Wesson wrote: > >> * There's no easy way to restart a REPL or close one; one must close >> the REPL tab and also find and kill a java process using ps/kill or >> Windows Task Manager or whatever tool, dependi

Re: Comparison of CCW and Enclojure

2011-05-17 Thread Sean Corfield
On Tue, May 17, 2011 at 6:04 AM, Chas Emerick wrote: > You certainly can load sources from open editors with one keystroke -- the > default is Ctrl-L (maybe Cmd-L on Macs). Opt-Cmd-L on Mac. Ctl-Alt-S on Ubuntu. The difference between platforms is kind of annoying (since I switch back and forth

Re: Comparison of CCW and Enclojure

2011-05-17 Thread Chas Emerick
On May 17, 2011, at 4:57 AM, Ken Wesson wrote: > * There's no easy way to restart a REPL or close one; one must close > the REPL tab and also find and kill a java process using ps/kill or > Windows Task Manager or whatever tool, depending on OS. Cleaning up a REPL involves closing the REPL inter

Comparison of CCW and Enclojure

2011-05-17 Thread Ken Wesson
I have gotten a more recent version of CCW up and running in Eclipse and can now compare some aspects of their behavior, particularly regarding the REPL. On the plus side for CCW: * No timeout bug starting REPLs. The timeout period seems much longer than Enclojure's. (The Enclojure Google Group