0.4.1 noworky and two more mild issues with 0.4.0

28 views
Skip to first unread message

Cedric Greevey

unread,
Jun 29, 2013, 5:30:12 PM6/29/13
to cl...@googlegroups.com
Clooj 0.4.1 won't run. I see a javaw process saturate a core for about 5 seconds and then die without producing any UI. No error messages or anything show up on-screen.

The exact same parameters to javaw except for pointing to the 0.4.0 jar instead of the 0.4.1 jar produces a functioning Clooj instance running.

The only custom parameter I'm passing is -Xmx1G, IIRC. Hardware, OS, Java version all identical.

Meanwhile, 0.4.0 has two more minor problems I feel I should note:

* Syntax highlighter seems to become sluggish when a source file gets up over ~800 lines. Gray squares crawling along after you type in some changes, parentheses slow to acknowledge when their match is made (or temporarily broken), things like that. The editor starts to feel sluggish near that point.

* Control-R doesn't even seem to fully shut down and restart the REPL JVM. So if there's a zombie thread you somehow started, Control-R doesn't kill it.

Arthur D. Edelstein

unread,
Jun 29, 2013, 7:01:47 PM6/29/13
to cl...@googlegroups.com
Hi Cedric,

> The only custom parameter I'm passing is -Xmx1G, IIRC. Hardware, OS, Java
> version all identical.

What OS & OS version are you using? Thanks.

Arthur

Cedric Greevey

unread,
Jun 29, 2013, 8:16:31 PM6/29/13
to cl...@googlegroups.com
w7 64 bit, Oracle Java 7 64-bit JVM.



Arthur

--
You received this message because you are subscribed to the Google Groups "clooj" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clooj+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



Cedric Greevey

unread,
Jun 29, 2013, 10:55:44 PM6/29/13
to cl...@googlegroups.com
I've found some more wonkiness in 0.4.0.

* Give a fn a docstring with a blank line in it and crazy things happen with control-enter.

(defn foo
  "This docstring contains

   a blank line."
   [x y]
   (+ x (* 2 y)))

Usually it's "Malformed expression" even though it's a perfectly well-formed Clojure sexp. Sometimes it's CompilerException unable to resolve symbol: x with x the part of the text following the final blank line. In the example above it would complain about being unable to resolve a. I had it come up with "unable to resolve symbol: The".

It looks like clooj is scanning upward for the preceding blank line, then down for the next blank line, when it should be finding the bracket pair highlighted in gray, then stepping outside that pair by one position and finding the next enclosing pair (as it would to highlight them if the user actually moved the cursor just outside the first pair), and repeating until there is no further-outward enclosing pair, whereupon the pair it had reached previously encloses the desired top-level form to send to the REPL.

* Control-G works to repeat a search, but F3 doesn't. F3 seems to be completely ignored.

Reply all
Reply to author
Forward
0 new messages