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 [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en