Thanks for the quick response to everyone.
I downloaded slime-fuzzy.el from here:
http://elder-gods.org/~larry/repos/slime-tracker/contrib/slime-fuzzy.el
, put it into ~/.emacs.d/misc and then added this to my ~/.emacs:
(setq load-path (cons "~/.emacs.d/misc" load-path))
(eval-after-load "slime"
'(progn
(require 'slime-fuzzy)
(setq slime-complete-symbol*-fancy t)
(setq slime-complete-symbol-function 'slime-fuzzy-complete-symbol)))
… and everything works perfectly.
Stefan
On Dec 31, 2009, at 5:44 PM, william douglas wrote:
>> Well, it clearly works for Lau, but then he says in one of the screencasts
>> that he's using an old version of Slime; if you install technomancy's slime
>> package from > ELPA, I believe you don't get all the slime extensions, which
>> would easily explain why the fuzzy completion doesn't work. I'm using that
>> slime from ELPA, and > > fuzzy completion is also not working for me.
>
> Right now the ELPA slime package does not include contrib (which
> contains slime-fuzzy and a number of other things). I am attempting
> to add just the required pieces to ELPA to get slime-fuzzy working.
> If you would like fuzzy complete to work before this, you will want to
> grab slime from technomancy's github repo and then add something like
> the following to your .emacs:
>
> (add-to-list 'load-path "~/slime/contrib/")
> (eval-after-load "slime"
> '(progn
> (require 'slime-fuzzy)
> (setq slime-complete-symbol*-fancy t)
> (setq slime-complete-symbol-function 'slime-fuzzy-complete-symbol)))
>
> Note that if you are using slime-connect the fuzzy complete might not
> work though the following patch may fix that for you if you are using
> lein swank to launch your swank session (patch from Takeshi Banse,
> [email protected]):
>
> diff --git a/src/leiningen/core.clj b/src/leiningen/core.clj
> index a5261f4..685aab1 100644
> --- a/src/leiningen/core.clj
> +++ b/src/leiningen/core.clj
> @@ -81,4 +81,5 @@ (defn -main [& [task & args]]
> (abort (format "Wrong number of arguments to task %s."
> task)))))
> ;; In case tests or some other task started any:
> - (shutdown-agents)))
> + ;;(shutdown-agents)
> + ))
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to [email protected]
> Note that posts from new members are moderated - please be patient with your
> first post.
> To unsubscribe from this group, send email to
> [email protected]
> 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 [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en