Skip to content

Trying to use dabbrev-capf within capf with company #1433

Answered by dgutov
garyo asked this question in Q&A
Discussion options

You must be logged in to vote

Looks like dabbrev-capf doesn't take any args. Does it need to?

From the backtrace, it just says like dabbrev-capf is not defined in your session. That probably just means that you need to (require 'dabbrev) in your init file somewhere (this function was added in Emacs 29, but it's not autoloaded).

But the completion function itself doesn't seem to be well-written and debugged: I've just tried it, and it shows a backtrace after a backtrace. If somebody has used it successfully (@minad?), they're welcome to chime in.

You might want to try cape-dabbrev as alternative, but according to my measurements (#1411) it's overall slower than the company backends (either of the two).

BTW the reaso…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@garyo
Comment options

Answer selected by garyo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants