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

ac-helm cannot complete the first time #3

Closed
tuhdo opened this issue Dec 23, 2013 · 5 comments
Closed

ac-helm cannot complete the first time #3

tuhdo opened this issue Dec 23, 2013 · 5 comments
Assignees
Labels

Comments

@tuhdo
Copy link

tuhdo commented Dec 23, 2013

I cannot use ac-complete-with-helm the first time because of this error:

helm-show-completion: Wrong type argument: overlayp, nil [5 times]

I had to run auto-complete first to "activate" ac-helm. After executing initial auto-complete, calling ac-complete-with-helm produces no more errors. But I had to execute auto-complete first.

@ghost ghost assigned yasuyk Dec 23, 2013
@yasuyk yasuyk closed this as completed in 6567da5 Dec 23, 2013
@yasuyk
Copy link
Owner

yasuyk commented Dec 23, 2013

@tuhdo Thank you for your bug report, and Sorry for insufficient solution on #2. :-)

@tuhdo
Copy link
Author

tuhdo commented Dec 23, 2013

@yasuyk Thanks. Work great.

I am using ac-complete for some languages (lisp, Java, C/C++). However, in C/C++, there's a package called auto-complete-clang that get candidates from clang compiler. I prefer this package to normal ac-complete + cedet, because auto-complete-clang gives more information for a symbol i.e. a complete function signature with its argument information and its return type, compare to cedet only gives a list of candidates. Later auto-complete-clang allows you to replace the argument list in its signature one by one.

Currently, ac-helm works by activating auto-complete-clang first, then execute ac-complete-with-helm. Is there a way to make auto-complete-clang use ac-helm interface?

@tuhdo
Copy link
Author

tuhdo commented Dec 23, 2013

Anyway, I think even if you implement it so that ac-helm can list candidates from auto-complete-clang, it still cannot provide full function signature after candidate selection. I will still use the normal ac-complete interface for auto-complete-clang, since it provides such feature.

@yasuyk
Copy link
Owner

yasuyk commented Dec 24, 2013

auto-complete-clang is a great elisp package. It parses function signature, and expands parameter by yasnippet, so auto-complete-clang do complicated task. However ac-helm is tiny package, and it is aimed at supporting to narrow a lot of auto-complete candidates by helm. What you say is beyond the duty of ac-helm. I think what you need is a specialized helm interface for clang.

@tuhdo
Copy link
Author

tuhdo commented Dec 24, 2013

Yes, I know. And except for C/C++, I use ac-helm for everything else that executes auto-complete command (elisp, java, shell etc...).

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

No branches or pull requests

2 participants