Works for me in repl. I have too much slime/clojure customization code, not
really sure what does what :)

Maybe this:

(defun slime-clojure-repl-setup ()
  (when (string-equal "clojure" (slime-connection-name))
    (message "Setting up repl for clojure")
    (when (slime-inferior-process)
      (slime-redirect-inferior-output))

    (set-syntax-table clojure-mode-syntax-table)
    (clojure-mode-font-lock-setup)

    (setq lisp-indent-function 'clojure-indent-function)

    (when (and (featurep 'paredit) paredit-mode (>= paredit-version 21))
      (define-key slime-repl-mode-map "{" 'paredit-open-curly)
      (define-key slime-repl-mode-map "}" 'paredit-close-curly))
    (slime-setup '(slime-fancy))))

(add-hook 'slime-repl-mode-hook 'slime-clojure-repl-setup)

Scott


On Sat, Oct 16, 2010 at 12:27 AM, Jarl Haggerty <fictivela...@gmail.com>wrote:

> Should autocomplete work in the swank repl?  It works perfectly in a
> clj buffer but nothing happens in the repl.
>
> On Aug 19, 7:46 am, Phil Hagelberg <p...@hagelb.org> wrote:
> > On Thu, Aug 19, 2010 at 6:21 AM, Steve Purcell <st...@sanityinc.com>
> wrote:
> > > I guess Phil's very busy, but if he can apply this patch, then the
> regular swank-clojure 1.3.0-SNAPSHOT on clojars should end up containing the
> fix.
> >
> > Just applied this patch and pushed to github and clojars. Thanks!
> >
> > -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<clojure%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
>

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