I've not had time to look at the source yet, but want to note that the exception with Swank happens at r1158:
r1158 | rhickey | 2008-12-12 21:37:12 -0500 (Fri, 12 Dec 2008) | 2 lines force instance member interpretation of (.method ClassName), e.g. (.getMethods String) works Any idea how this could break Swank? Reverting to r1157 (thank you, git-svn) fixed the problem for now. Thanks, -- Michel On Dec 13, 2:15 pm, "Stephen C. Gilardi" <squee...@mac.com> wrote: > I'm looking at the terminal case. It's the difference between running > clojure.lang.Repl and clojure.main (which runs a repl by default). The > reading done by the latter is intended to be identical to the reading > done by the former but isn't in the case of read-line. If anyone sees > the fix before I find it, please let me know. > > --Steve > > On Dec 13, 2008, at 10:57 AM, Michel Salim <michel.syl...@gmail.com> > wrote: > > > > > On Dec 13, 4:26 am, Michel Salim <michel.syl...@gmail.com> wrote: > >> Using up-to-date clojure and swank-clojure, I've not been able to use > >> read-line: > > >> - In Emacs (with Slime / swank-clojure), (read-line) never stops > >> consuming inputs > > >> - Running clojure directly from a terminal console, (read-line) > >> always > >> returns "" > > The terminal case, as it turns out, is what happens if I invoke > > clojure using java -jar clojure.jar instead of java -cp clojure.jar > > clojure.lang.Repl . Not sure what's causing the Swank problems though. > > > -- > > Michel --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---