This doesn't work for me. Here is what happens:
> > 0. Start ng-server
> > 1. Start a fresh vim.
> > 2. :setfiletype clojure (a colon command like :w or :q)
> > 3. \sr (should open a new window)
> > 4. <Esc><C-w><C-w> (to go back to first window) (<C-w> is Control+w,
> > <M-w> would be Alt+w)
> > 5. Type in some function: (defn greet [] (println "Hello, World!"))
> > 6. Make sure the cursor is in the function, eg. on the e of Hello.
> > 7. \et (to send the function to the Repl)
> > 8. A new window should open, containing #'user/greet. Type \p to close
> > the window.

It's all good up to this point.

> > 9. Go to the Repl window, eg. with <C-w><C-w>.
> > 11. At the prompt type (gr and hit <C-x><C-o> to complete the function
> > name.
> > 10. Submit (greet) by hitting return. (the Repl should now print
> > "Hello, World!")

This doesn't work.
The new window opened up containing the right text. However, the REPL
can not use the function.
What's strange is that I can type (gr and CTRL-n and user/greet shows
up! This tells me the REPL has the function, but it gives this error:
#<CompilerException java.lang.IllegalStateException: Var user/greet is
unbound. (REPL:0)>

I've also tried (user/greet) but that doesn't work either - same
error.

I'm using vimclojure-2.1.2 with the latest clojure from git, java 6 on
Ubuntu 9.04.

Note: I have been copying/pasting using a mouse but that has a bug
where comments get an 'x' character put in front of them on paste and
the function won't compile. So I'd really like this to work!

Thanks again for vimclojure!


--~--~---------~--~----~------------~-------~--~----~
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