Re: vimclojure help

2009-04-28 Thread Meikel Brandmeyer
Hi, Am 28.04.2009 um 20:24 schrieb jim: Success! \o/ Good to hear. Will fix the launcher script. After changing ng-server to be correct, I set up CLOJURE_EXT and CLASSPATH, then called it. Calling ng from the command line showed that it still couldn't find clojure-contrib.jar, so I added th

Re: vimclojure help

2009-04-28 Thread jim
Success! After changing ng-server to be correct, I set up CLOJURE_EXT and CLASSPATH, then called it. Calling ng from the command line showed that it still couldn't find clojure-contrib.jar, so I added that to CLASSPATH. Then calling ng from the command line gave me 'usr'. Gvim was still failing

Re: vimclojure help

2009-04-28 Thread Meikel Brandmeyer
Hi, Am 28.04.2009 um 01:56 schrieb jim: java.lang.NoClassDefFoundError: clojure/lang/APersistentMap (wrong name: clojure/proxy/clojure/lang/APersistentMap) This is a sign, that the clojure.jar is missing from the classpath. Please change the -depth to -maxdepth (keeping the one) as was noted

Re: vimclojure help

2009-04-28 Thread Michael Wood
On Tue, Apr 28, 2009 at 1:56 AM, jim wrote: [...] > Finally discovered what I think is a bug in the ng-server script. The > find command has a '1' between the "-depth" and "-print0". Removing [...] I believe the find command on OS X (and probably on *BSD) treats "-depth n" like the GNU find "-mi

Re: vimclojure help

2009-04-27 Thread jim
That was exactly what I was reading through the vimclojure.vim plugin trying to find when I saw your post. It's a great thing to have when trying to trouble shoot problems because you can isolate the server. Anyway, I started over by wiping out my .vim and vimclojure-2.1.0 directories. Updated an

Re: vimclojure help

2009-04-27 Thread Meikel Brandmeyer
Hi, Am 27.04.2009 um 22:50 schrieb jim: Reading the vimclojure plugin, I see that it checks for the existence of b:vimclojure_namespace before adding those mappings. When I do a :echo b:vimclojure_namespace, I get an undefined variable error. Please try the following from outside vim: ng de.

Re: vimclojure help

2009-04-27 Thread Meikel Brandmeyer
Hi, Am 27.04.2009 um 22:18 schrieb jim: The lack of error message stuck me as well. The result of :messages simply lists Bram Molenaar as the messages maintainer. I also mapped "\ab" to "a" so that it would enter insert mode and that worked fine. So I don't think it's a problem with the mappi

Re: vimclojure help

2009-04-27 Thread jim
I think in my attempt to fix the problem, I masked a symptom. When I saw that I didn't have the key mappings, I added some autocmds to my .vimrc. From reading the vim plugin, I believe those should have been generated automatically when a *.clj file is loaded. Removing those autocmds from the .vi

Re: vimclojure help

2009-04-27 Thread jim
The lack of error message stuck me as well. The result of :messages simply lists Bram Molenaar as the messages maintainer. I also mapped "\ab" to "a" so that it would enter insert mode and that worked fine. So I don't think it's a problem with the mapping. I'm guessing the plugin isn't fully loa

Re: vimclojure help

2009-04-27 Thread Meikel Brandmeyer
Hi, Am 27.04.2009 um 19:56 schrieb jim: I forgot to say that I have: let clj_want_gorilla = 1 let vimclojure#NailgunClient = "/home/jim/clojure/ng" in my .vimrc file. That's clear. Otherwise you wouldn't have the mapping in the :map output. I'm a bit confused about the beep... There is no

Re: vimclojure help

2009-04-27 Thread jim
I forgot to say that I have: let clj_want_gorilla = 1 let vimclojure#NailgunClient = "/home/jim/clojure/ng" in my .vimrc file. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group,

Re: vimclojure help

2009-04-27 Thread jim
I forgot to say that I have: let clj_want_gorilla = 1 in my .vimrc On Apr 27, 12:08 pm, Meikel Brandmeyer wrote: > Hi Jim, > > Am 27.04.2009 um 18:08 schrieb jim: > > > I'm having a heck of a time getting started with VimClojure and it's > > probably all due to my lack of knowing vim. After a

Re: vimclojure help

2009-04-27 Thread jim
Thanks for the response. Here's specifically what's happening: I have vim 7.2, according to the :version command in gvim I start the nailgun server with: java -cp /home/jim/clojure/clojure.jar:/home/jim/clojure/ clojure.contrib/clojure-contrib.jar:/home/jim/clojure/vimclojure.jar com.martiansof

Re: vimclojure help

2009-04-27 Thread Meikel Brandmeyer
Hi Jim, Am 27.04.2009 um 18:08 schrieb jim: I'm having a heck of a time getting started with VimClojure and it's probably all due to my lack of knowing vim. After a lot of poking, I got the plugin to load and got syntax highlighting working. I also have got some autocmd's in my .vimrc so that t

vimclojure help

2009-04-27 Thread jim
Meikel, I'm having a heck of a time getting started with VimClojure and it's probably all due to my lack of knowing vim. After a lot of poking, I got the plugin to load and got syntax highlighting working. I also have got some autocmd's in my .vimrc so that they're listed when I do a :map. I got