Hi, Am 15.04.2009 um 11:37 schrieb Sigrid:
I'm just starting with clojure and want to use vimclojure for development. I have an error on startup that has been discussed here in March: Error detected while processing function vimclojure#ExecuteNailWithInput: line 23: E605: Exception not caught: Couldn't execute Nail! Users/hunli/.vim/ng de.kotka.vimclojure.nails.NamespaceOfFile </var/folders/Wi/ WiMZBjsvFC8Qt3WXZ35h7k+++TM/-Tmp-/v788213/0 Error detected while processing /Users/hunli/.vim/ftplugin/ clojure.vim: line 131: E171: Missing :endif Error detected while processing function <SNR>8_LoadFTPlugin: line 17: E170: Missing :endfor After reading the old thread, I am not sure what to do about this. I have vim 7.2. on Mac OS Leopard and I understand that some people do not have a problem there (so I needn't install another vim). If there is something to do about the namespace, could someone please help with a "resume" of what to do?
People reported problems with the stock vim delivered with OS X. I strongly recommend to use MacVim[1]. That works without problems for me. Otherwise you might want to try to run the command manually to check that the server runs properly. Just try: ng de.kotka.vimclojure.nails.NamespaceOfFile < source.clj Check if this answers with some Exception or whether it returns "user".
Btw in my clojure file no namespace is set, it's just (defn hello [name] (str "Hello, " name)) so it should be in the user namespace?
Yes. Files without ns or in-ns form are considered to be in the user namespace. Sincerely Meikel
smime.p7s
Description: S/MIME cryptographic signature