Just to update, I've confirmed that this also happens on Ubuntu Linux.
I did a fresh install of ubuntu and followed the guide at:
http://riddell.us/tutorial/slime_swank/slime_swank.html

I also tried the emacs starter kit approach at:
http://technomancy.us/126

On the bright side, whilst read-line doesn't work, a simple hello
world JFrame can be brought up from the slime repl on Ubuntu, whereas
I find this hangs on windows xp:
(doto (javax.swing.JFrame. "Hello World") (.setVisible true))

Maybe this is an issue with emacs itself. I noticed that trying to run
a python repl from inside an emacs shell doesn't work unless the "-i"
option is given to python.exe, where -i is described as:
"inspect interactively after running script, (also PYTHONINSPECT=x)
and forces prompt, even if stdin dose not appear to be a terminal."
The emacs python-mode library uses the -i option when creating a repl,
so I'm wondering if clojure-mode needs something similar.

Unfortunately that's as far as I've got with understanding the
problem/
solution.

On Aug 13, 4:50 pm, DanL <leidis...@gmail.com> wrote:
> Although I didn't solve the problem, I can confirm it.
>
> I'm using latest clojure, slime, swank-clojure (pulled daily), and
> Cygwin Emacs 23 on XP.
>
> On 22 Jul., 22:45, Kelvin Ward <kelvin.d.w...@googlemail.com> wrote:
>
> > I've been using EmacsW32 withSLIME. Whenever I call (read-line) in
> > theREPLit never completes reading the input. This problem does not
> > happen when using the command line to launch the clojureREPL.
>
> > I've tried combinations of clojure1.0.0.jar the 1.1 alpha snapshot,
> > the latest clojure-contrib.jar, the latest clojure-mode for emacs and
> > swank-clojure code. I've also tried the clojure box installation, but
> > no success.
>
> > Has anyone else come across this problem and handled it?
>
> > Thanks.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to