Hi Tim, back when I started diving into Clojure I had the very same plan, teach me Emacs to write Clojure. Somewhere down the road I realized that I can have almost everything, that I hoped to gain by picking up Emacs, in VIM too. VimClojure and lein-vimclojure**, once set up, delivered everything I was looking for. Ok, everything but debugging! Which, thanks to the ability to use tracing right inside a vim repl, I don't miss that much as I missed my buddies . and * back then... :-)
I definitely don't want to discourage you from looking into Emacs, which without a question is a great text editor, I just wanted to note that there are working setups for VIM too. :-) Regards, Ben Am 14.09.2011 04:13, schrieb Timothy Washington: > > Hey all, > > > So I'm still an avid vim user. But I see a lot of power in the swank > slime setup, and have been teaching myself emacs to try to leverage > it. There are still a few tricks I haven't got. Maybe my notes are > just disorganised, but I was hoping fellow Clojurians can chime in. > > > * ? getting an error when I i) "M-x slime-connect" or ii) send a > form (+1 1) to swank ; this is after i) a "lein swank" then ii) in > another window "emacs" M-x connect . ** Evaluating Slime forms > seems to work after that > > > webkell@ubuntu:~/Projects/bkell$ lein swank > > Listening for transport dt_socket at address: 36109 > > Connection opened on localhost port 4005. > > exception in read loop > > java.lang.Exception: Error reading swank message*# this happens when > slime tries to connect with M-x slime-connect * > > at > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > > ... > > at java.lang.reflect.Constructor.newInstance(Constructor.java:513) > > ... > > at clojure.lang.Var.applyTo(Var.java:518) > > at clojure.main.main(main.java:37) > > exception in control loop > > java.lang.InterruptedException > > at > java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:1961) > > ... > > at swank.util.concurrent.mbox$receive.invoke(mbox.clj:28) > > at swank.core$control_loop.invoke(core.clj:401) > > ... > > at swank.swank$connection_serve$fn__1720.doInvoke(swank.clj:20) > > ... > > at java.lang.Thread.run(Thread.java:619) > > > > * ? howto do Code completion (clojure, and elisp ) > * ? close a slime-repl connection > * ? howto list modes engaged > * ? Also need to increase my skills navigating the debugger. Is this > still the reference > <http://georgejahad.com/clojure/swank-cdt.html> to use > * > > ? Can you use Emacs / Slime / CDT (debugging) with Ruby / Rails > > > As a VIM'er, I'm trying to do the following using emacs navigation, > but seem to have missed the levers to pull. I'm using a vim navigation > plugin <http://gitorious.org/evil/pages/Home>, which helps a lot. > > * ? set line numbers > * ? go to line 'n' > * ? how to jump to matching parentheses > * ? move down a chunk like in vim > * ? yank 'n' lines -> emacs yank puts back some 'killed' text ; > HOWTO copy > > > Thanks > > Tim > > > -- > 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 -- 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