Re: VimClojure 2

2009-03-15 Thread Meikel Brandmeyer
Hi, Am 14.03.2009 um 15:10 schrieb Albert Cardona: I have called :split so there are two buffers visible. Then I shift+V and y to copy a line. Then I control+w j to go to the upper window. Then I p, and a new line pastes, not what I copied. To paste, I have to "0p, i.e. paste the last user-yank

Re: VimClojure 2

2009-03-14 Thread Albert Cardona
Meikel, Another error I don't understand: I have called :split so there are two buffers visible. Then I shift+V and y to copy a line. Then I control+w j to go to the upper window. Then I p, and a new line pastes, not what I copied. To paste, I have to "0p, i.e. paste the last user-yanked data.

Re: VimClojure 2

2009-03-14 Thread Albert Cardona
Hi Meikel, Regarding namespaces, I would appreciate help understanding what looks like a heisenbug. I have a file at t2/data/core.clj, with namespace t2.data.core The namespace (ns t2.data.core) does not :import or :use anything. I open such file by :edit t2/data/core.clj When switching to anot

Re: VimClojure 2

2009-03-14 Thread Meikel Brandmeyer
Hello Mark and fellow Vimmers, Am 14.03.2009 um 03:56 schrieb Mark Feeney: Anyway, user error, as you predicted above :) Things are working much better now. I hope I didn't sound too harsh! If so, I apologise! But this is really my experience from my daily life (also on the real user side

Re: VimClojure 2

2009-03-13 Thread Mark Feeney
One of my problems, I just discovered, was that I was sometimes testing with a namespace continaing a hyphen in a file also containing a hyphen. e.g. my-foo.clj (ns my-foo) (+1 1) Clojure, of course, wants the file to be named my_foo.clj (underscore), and said as much in the error messages

Re: VimClojure 2

2009-03-13 Thread Meikel Brandmeyer
Hi, Am 13.03.2009 um 16:13 schrieb Mark Volkmann: The version of the Vim that my Mac uses when a launch it from a Terminal window isn't ancient. It's 7.2.22. It seems likely that the issue is related to configuration instead of the version of Vim being used. What happens if you try to use VimCl

Re: VimClojure 2

2009-03-13 Thread Meikel Brandmeyer
Hi, Am 13.03.2009 um 15:02 schrieb Mark Feeney: So you could try \rf, but for me this still doesn't quite work for me. If I have just one file: foo.clj (ns foo) (+ 1 1) I can't \ef it. I get the same "line 23" error you get. If I \rf it I get: (clojure.core/load "/foo") # I've t

Re: VimClojure 2

2009-03-13 Thread Mark Volkmann
On Fri, Mar 13, 2009 at 8:45 AM, Meikel Brandmeyer wrote: > Hi, > > Am 13.03.2009 um 13:45 schrieb Mark Volkmann: > >>> Hi Mark, I'm also running on OSX 10.5. I couldn't get it working with >>> the vim that comes with leopard - vim version 7.0.x > >> So this casts a new light on the problem. It a

Re: VimClojure 2

2009-03-13 Thread Albert Cardona
Hi Meikel, Thank you for the prompt response. > I will point this out more clearly in the documentation. And future users will be greateful for that! VimClojure is looking great Meikel. Albert -- Albert Cardona http://albert.rierol.net --~--~-~--~~~---~--~---

Re: VimClojure 2

2009-03-13 Thread Mark Feeney
I've been struggling with the same issues (on Windows, not that it appears to matter). The "line 23" in the error means the 23rd line of the function vimclojure#ExecuteNailWithInput(nail, input, ...) in vimfiles/autoload/ vimclojure.vim. It's unrelated to the code you're trying to execute. I du

Re: VimClojure 2

2009-03-13 Thread Meikel Brandmeyer
Hi, Am 13.03.2009 um 13:45 schrieb Mark Volkmann: Hi Mark, I'm also running on OSX 10.5. I couldn't get it working with the vim that comes with leopard - vim version 7.0.x So this casts a new light on the problem. It appears to be specific to the vim that is a standard part of Mac OS X. Ah

Re: VimClojure 2

2009-03-13 Thread Meikel Brandmeyer
Hi Albert, Am 13.03.2009 um 13:42 schrieb Albert Cardona: If I open a .clj file without the ng server running, it complains loudly and does not switch on syntax highlighting for clojure. Why no syntax on? This happens for me if I open a file via the NerdTree plugin. I'm not sure why this i

Re: VimClojure 2

2009-03-13 Thread Yasuto TAKENAKA
Do you try to run the command, ./ng de.kotka.vimclojure.nails.NamespaceOfFile ? The following is the result when I tried to run this after starting a ngserver: > cd your-vimcljure-directory >./ng de.kotka.vimclojure.nails.NamespaceOfFile java.lang.ClassNotFoundException: de.kotka.vimclojure.nai

Re: VimClojure 2

2009-03-13 Thread Mark Volkmann
On Fri, Mar 13, 2009 at 7:27 AM, Adrian Cuthbertson wrote: > > Hi Mark, I'm also running on OSX 10.5. I couldn't get it working with > the vim that comes with leopard - vim version 7.0.x > > I first downloaded and tried MacVim 7.2 from > http://code.google.com/p/macvim/ but I couldn't unpack the

Re: VimClojure 2

2009-03-13 Thread Albert Cardona
Since this is a thread on VimClojure. First of all to say I am looking forward to vimclojure working perfectly. Here are some problems I don't understand: If I open a .clj file without the ng server running, it complains loudly and does not switch on syntax highlighting for clojure. Why no sy

Re: VimClojure 2

2009-03-13 Thread Adrian Cuthbertson
Hi Mark, I'm also running on OSX 10.5. I couldn't get it working with the vim that comes with leopard - vim version 7.0.x I first downloaded and tried MacVim 7.2 from http://code.google.com/p/macvim/ but I couldn't unpack the .tbz files. I then tried the Vim.app 7.2 from http://sourceforge.net/p

Re: VimClojure 2

2009-03-13 Thread Mark Volkmann
On Thu, Mar 12, 2009 at 6:05 PM, Kyle Schaffrick wrote: > >> Here are the errors I'm getting. >> >> Error detected while processing function >> vimclojure#ExecuteNailWithInput: >> line   23: >> E605: Exception not caught: Couldn't execute Nail! ng >> de.kotka.vimclojure.nails.N >> amespaceOfFile

Re: VimClojure 2

2009-03-13 Thread Mark Volkmann
On Fri, Mar 13, 2009 at 2:50 AM, Adrian Cuthbertson wrote: > > I think the " could be a problem in generating your path in .vimrc. Try... > let vimclojure#NailgunClient='/your_path/vimclojure-2.0.0/ng' > > and don't forget also for .vimrc > let g:clj_want_gorilla = 1 I fixed the "let vimclojure"

Re: VimClojure 2

2009-03-13 Thread Adrian Cuthbertson
I think the " could be a problem in generating your path in .vimrc. Try... let vimclojure#NailgunClient='/your_path/vimclojure-2.0.0/ng' and don't forget also for .vimrc let g:clj_want_gorilla = 1 Rgds, Adrian. On Fri, Mar 13, 2009 at 2:09 AM, Yasuto TAKENAKA wrote: > > In my environment, same

Re: VimClojure 2

2009-03-13 Thread Yasuto TAKENAKA
In my environment, same error occurs ... although I have erased Gorilla and previous vimclojure packages. I install it using my installer script. If wrong, let me know. -- #!/bin/sh # installer.sh - a simple vimclojure installer. # Please rewrite CLOJURE, CLOJURECONTRIB and VIMCLOJUREHOME. # The

Re: VimClojure 2

2009-03-12 Thread Kyle Schaffrick
On Thu, 12 Mar 2009 13:30:51 -0700 (PDT) Mark Volkmann wrote: > > On Mar 12, 3:21 pm, Mark Volkmann wrote: > > The README.txt file doesn't describe the files that need to be > > copied to ~/.vim. I'm getting errors starting Vim now. I suspect > > it's because I haven't copied all the necessary

Re: VimClojure 2

2009-03-12 Thread Mark Feeney
I've had this one. For me it was failure to have vimclojure.jar in the classpath of the nailgun server. Here's how I start the server on Windows: @echo off set VIMCLOJURE_JAR=c:\vim\vimfiles\vimclojure.jar set CLOJURE_JAR=c:\java\clojure-read-only\clojure.jar set CONTRIB_JAR=c:\java\clojure-con

Re: VimClojure 2

2009-03-12 Thread Attila Babo
On Thu, Mar 12, 2009 at 9:30 PM, Mark Volkmann wrote: > cp -r {autoload,bin,doc,ftdetect,ftplugin,indent,syntax} ~/.vim You don't need the content of bin folder under ~/.vim --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

Re: VimClojure 2

2009-03-12 Thread Mark Volkmann
On Thu, Mar 12, 2009 at 3:37 PM, Meikel Brandmeyer wrote: > Hi, > > Am 12.03.2009 um 21:30 schrieb Mark Volkmann: > >> On Mar 12, 3:21 pm, Mark Volkmann wrote: >>> >>> The README.txt file doesn't describe the files that need to be copied >>> to ~/.vim. I'm getting errors starting Vim now. I susp

Re: VimClojure 2

2009-03-12 Thread Meikel Brandmeyer
Hi, Am 12.03.2009 um 21:30 schrieb Mark Volkmann: On Mar 12, 3:21 pm, Mark Volkmann wrote: The README.txt file doesn't describe the files that need to be copied to ~/.vim. I'm getting errors starting Vim now. I suspect it's because I haven't copied all the necessary files to my ~/.vim direc

Re: VimClojure 2

2009-03-12 Thread Mark Volkmann
On Mar 12, 3:21 pm, Mark Volkmann wrote: > The README.txt file doesn't describe the files that need to be copied > to ~/.vim. I'm getting errors starting Vim now. I suspect it's because > I haven't copied all the necessary files to my ~/.vim directory. Which > files do I need to copy? Here is th

VimClojure 2

2009-03-12 Thread Mark Volkmann
The README.txt file doesn't describe the files that need to be copied to ~/.vim. I'm getting errors starting Vim now. I suspect it's because I haven't copied all the necessary files to my ~/.vim directory. Which files do I need to copy? -- R. Mark Volkmann Object Computing, Inc. --~--~-