On Tue, Sep 13, 2011 at 7:13 PM, Timothy Washington <twash...@gmail.com> wrote:
> ? 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

Have you tried M-x clojure-jack-in? It will ensure that the correct
version of slime is loaded. I don't know what's causing your error,
but it could be a slime version mismatch.

> ? howto do Code completion (clojure, and elisp)

The emacs-starter-kit binds M-/ to hippie-expand which hooks into
slime inside the repl and clojure-mode buffers. It can be set up
manually too, but I couldn't tell you how off the top of my head. In
the repl just regular TAB works.

> ? close a slime-repl connection

M-x slime-disconnect

> ? howto list modes engaged

C-h m

> ? Also need to increase my skills navigating the debugger. Is this still the
> reference to use

I think that's right.

> ? Can you use Emacs / Slime / CDT (debugging) with Ruby / Rails

Ruby uses inf-ruby, which is pretty primitive compared to slime. But
it's better than raw irb.

> 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, which
> helps a lot.
>
> ? set line numbers

I think there's something called linum-mode for that, but I've never used it.

> ? go to line 'n'

M-g M-g

> ? how to jump to matching parentheses

C-M-b/f

> ? move down a chunk like in vim

Not sure what this means, but C-h t gives you most of the navigation commands.

> ? yank 'n' lines -> emacs yank puts back some 'killed' text ; HOWTO copy

M-w

> Thanks

Sure.

-Phil

-- 
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

Reply via email to