Hey!!!  Maybe this is not the best place to ask this question, but
seeing as how many of you use emacs to code I will give it a shot.

I am using emacs, slime, swank combo.  When I try to slime-connect, I
initially get the following error:

error in process filter: Symbol's value as variable is void: paredit-
backward-delete-key

If I then try again it works.  So, it's really annoying having to
connect twice all the time!  I was able to resolve this by removing a
code fragment in my .emacs file, but then end up having problems with
undeletable brackets...arghhh.   Here is my .emacs file:


;;; This was installed by package-install.el.
;;; This provides support for the package system and
;;; interfacing with ELPA, the package archive.
;;; Move this code earlier if you want to reference
;;; packages in your .emacs.
(when
    (load
     (expand-file-name "~/.emacs.d/elpa/package.el"))
  (package-initialize))

   (add-hook 'slime-repl-mode-hook (lambda () (paredit-mode +1)))
          ;; Stop SLIME's REPL from grabbing DEL,
          ;; which is annoying when backspacing over a '('
          (defun override-slime-repl-bindings-with-paredit ()
            (define-key slime-repl-mode-map
                (read-kbd-macro paredit-backward-delete-key) nil))
                (add-hook 'slime-repl-mode-hook 'override-slime-repl-
bindings-with-paredit)

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