
Hi, I am using the latest slime sources with the swank-clojure. It had been working rather good until I updated the slime yesterday to the latest and greatest from the git repository (from git://git.boinkor.net/slime.git). After a bit of testing with git bisect, I understood that the commit which caused the fuzzy-completions was this one: commit a82bb3be2e5b3dc22909303784cb72b65486ccf2 I do not really understand slime/swank well. Can someone help me on where exactly I need to look in the swank-clojure to fix this problem? The slime-events buffer shows this as I type (filt (:emacs-rex (swank:fuzzy-completions "filt" "user" :limit 300 :time-limit-in-msec 1500) "user" :repl-thread 3) (:return (:abort) 3) In a working version (commit ccab8f8dea8d23ecfd5699cc37a4b98617437ac7), this is what I get: (:emacs-rex (swank:fuzzy-completions "filt" "user" :limit 300 :time-limit-in-msec 1500) "user" :repl-thread 5) (:return (:ok ((("filter" "42.68" (...) "-f------") ("NoSuchFieldException/" "5.64" (... ... ...) "b-------")) nil)) 5) Any help to debug this will be appreciated. Thanks. -- Ramakrishnan

Hi Ramakrishnan, * Ramakrishnan Muthukrishnan <vu3rdd@gmail.com> [2010-03-02 15:49]:
commit a82bb3be2e5b3dc22909303784cb72b65486ccf2
...
(:emacs-rex (swank:fuzzy-completions "filt" "user" :limit 300 :time-limit-in-msec 1500) "user" :repl-thread 3) (:return (:abort) 3)
It seems that your host Lisp does not load the contrib correctly (especially slime-fuzzy). You may have this line in the ~/.emacs: (require 'slime-fuzzy) If so, how about change it to something like this? (slime-setup '(slime-fuzzy)) See also SLIME manual 8.1 Loading Contrib Packages. This is very helpful. http://common-lisp.net/project/slime/doc/html/Loading-Contribs.html#Loading-... regards. -- Takeshi Banse

Hi, On Tue, Mar 2, 2010 at 8:03 PM, Takeshi Banse <takebi@laafc.net> wrote:
* Ramakrishnan Muthukrishnan <vu3rdd@gmail.com> [2010-03-02 15:49]:
commit a82bb3be2e5b3dc22909303784cb72b65486ccf2
...
(:emacs-rex (swank:fuzzy-completions "filt" "user" :limit 300 :time-limit-in-msec 1500) "user" :repl-thread 3) (:return (:abort) 3)
It seems that your host Lisp does not load the contrib correctly (especially slime-fuzzy). You may have this line in the ~/.emacs:
(require 'slime-fuzzy)
If so, how about change it to something like this?
(slime-setup '(slime-fuzzy))
Yes, that worked. Thanks a lot.
See also SLIME manual 8.1 Loading Contrib Packages. This is very helpful.
http://common-lisp.net/project/slime/doc/html/Loading-Contribs.html#Loading-...
Thanks a lot. -- Ramakrishnan
participants (2)
-
Ramakrishnan Muthukrishnan
-
Takeshi Banse