On 15 Aug 2010, at 10:13, Michał Marczyk wrote:

> On the other hand, I'm having mixed luck with fuzzy completion...
> slime-fuzzy-complete-symbol offers 'with-bindings and 'with-bindings*
> as completions for 'wi-bi, but so far I haven't been able to provoke
> ac + ac-slime to do the same (with (lambda () (set-up-slime-ac t)) in
> my slime-mode-hook and slime-repl-mode-hook).
> 
>> And also, I haven't managed to bind it to TAB in the REPL yet...)
> 
> (add-hook 'slime-connected-hook
>          (lambda ()
>            (define-key slime-mode-map (kbd "TAB") 'auto-complete)
>            (define-key slime-repl-mode-map (kbd "TAB") 'auto-complete)))
> 
> I also put (lambda () (auto-complete-mode t)) in the hooks for
> slime-mode and slime-repl-mode.


Ah, yes, that would work. Using 'slime-connected-hook was the bit I was missing.

Thanks!

-Steve

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