> > I enjoyed you presentations, but I have a bit of a tangent question.
> > I'm still new to slime, so it's not a comfortable environment for me
> > yet.  What I am wondering is how exactly, when operating with the
> > split code and repl buffers, you are getting code buffer expressions
> > to evaluate in the repl?  Is this a customization, or am I missing
> > something basic?
>
> This is pretty basic. There are commands for sending various bits of
> code from the code buffer to REPL. They are a standard part of slime,
> not clojure-specific. Most useful to me are C-M-x, which ships the def
> around the point to the repl, and C-c C-r, which evaluates the active
> region. Others can be found with C-h M in the code buffer, which
> brings up the documentation for the buffer mode.

Yep: that's good advice, although I can't say I find much in emacs to
be "basic", even after using it casually for 20 years :). The one I
tended to use in the tutorial (in case someone saw it flash by in the
minibuffer) is C-x C-e, which I have bound to lisp-eval-last-sexp, and
that is a custom binding. Something from Scheme-based muscle memory a
million years ago.

In addition to checking out C-h m (which is a great way to learn
keystrokes in emacs), you can also use the menu bar. If it's not
enabled, just do M-x menu-bar-mode, and you should see the menu bar
appear with a SLIME menu item. Pop it down and you'll see all sorts of
goodness with the keybindings listed as well.

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