Emacs-using Clojurians may enjoy the following tidbit of
Slime I just dreamed of:


(defun slime-eval-at-register (reg)
  "Take the cursor to a register's location and eval 
   the expression there. Useful for testing stuff without
   having to 'go there' first."
  (interactive "cEval at register: ")
  (save-excursion
    (jump-to-register reg)
    (slime-eval-last-expression)))

;; Note: slime-interactive-eval is also available on C-c :, 
;; so we override it for something that looks like C-x C-e.
(define-key slime-mode-map "\C-c\C-e" 'slime-eval-at-register)

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