purcell / ac-slime

Emacs auto-complete plugin for Slime symbols
109 stars 10 forks source link

Fuzzy competion fails with latest auto-complete.el #1

Closed purcell closed 13 years ago

purcell commented 13 years ago

On 22 Jul 2011, at 18:54, Azamat S. Kalimoulline wrote:

Hi. Some question about ac-slime and fuzzy completion. In .emcas I've done:

;;; Auto Completion (fancy)
(require 'auto-complete-config)
(require 'ac-slime)
(ac-config-default)
(setq ac-auto-start nil)
(define-key ac-mode-map (kbd "TAB") 'auto-complete)
(add-hook 'slime-mode-hook (lambda () (set-up-slime-ac t)))
(add-hook 'slime-repl-mode-hook (lambda () (set-up-slime-ac t)))
(eval-after-load "auto-complete"
                '(progn
                   (add-to-list 'ac-modes 'lisp-mode)
                   (add-to-list 'ac-modes 'slime-repl-mode)))

A you see, in hooks I initialize my AC with (set-up-slime-ac t) for using fuzzy autocompletion. But fuzzy completion doesn't work although in pure slime it works perfect. How to setup ac-slime correctly to use fuzzy autocompletion?

turtle-bazon commented 13 years ago

Easily can be reproduced trying to complete mvbin. It does not complete anything. Although slime completes to multiple-value-bind.

purcell commented 13 years ago

Yep, I can certainly reproduce the problem, e.g. with t-w => take-while. Fixing this will be a matter of debugging auto-complete, though, and possibly getting a patch applied there. -Steve