Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asynchronous auto-complete #52

Closed
jorgenschaefer opened this issue Mar 9, 2013 · 1 comment
Closed

Asynchronous auto-complete #52

jorgenschaefer opened this issue Mar 9, 2013 · 1 comment
Milestone

Comments

@jorgenschaefer
Copy link
Owner

AC does call the candidate function for every character typed. We can improve interactive speed by doing an asynchronous call and only wait at most a very small amount of time for a response. If we cache the response appropriately, typing further characters would give more results.

It might even be possible to call auto-complete again on a callback if point hasn't moved...

@jorgenschaefer
Copy link
Owner Author

The idle timer calls ac-update-greedy, but that doesn't seem to work. One can use (ac-start :force-init t) to force a completion I guess?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant