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

company-quickhelp-frontend error #414

Closed
weipan789 opened this issue Feb 14, 2017 · 10 comments
Closed

company-quickhelp-frontend error #414

weipan789 opened this issue Feb 14, 2017 · 10 comments

Comments

@weipan789
Copy link

Hi,
i have something wrong like blow

Company: frontend company-quickhelp-frontend error "Symbol's function definition is void: pos-tip-hide" on command hide

how i to do with it.

@wangruifei
Copy link

Me too

@purcell
Copy link
Owner

purcell commented Feb 26, 2017

Please provide steps to reproduce this, including platform and emacs version.

purcell added a commit to purcell/company-quickhelp that referenced this issue Feb 26, 2017
It's possible for company-quickhelp to be enabled in terminal Emacs
frames, e.g. by starting a GUI frame and then opening additional
terminal frames with emacsclient. And, indeed, it should logically
always be safe to enable company-quickhelp-mode in any buffer, because
that buffer may be displayed in terminal or GUI frames at any future
time.

Without this change, when company calls the company-quickhelp backend
in terminal frames, pos-tip-hide is called unconditionally, which
results in errors. For real-world examples, see
purcell/emacs.d#377 and
purcell/emacs.d#414.

This commit adds a function called
company-quickhelp-pos-tip-available-p, which is used to detect and
prevent these errors.
@weipan789
Copy link
Author

Xubuntu 16.04 and emacs-version "24.5.1"

@weipan789
Copy link
Author

C-x b and want to select a buffer-name . can't switch buffer and occur the error.

@purcell
Copy link
Owner

purcell commented Feb 26, 2017

Okay, and you're running Emacs in a terminal window, or a GTK/X window?

(In any case, see company-mode/company-quickhelp#64, which I think will solve this problem once merged.)

@weipan789
Copy link
Author

Thank you for your reply and help. I really use Emacs in a terminal window. And i will have a try soon.

@weipan789
Copy link
Author

Okay, i remove the old .emacs.d and git clone again, now it is ok in GUI window and terminal window.

@wangruifei
Copy link

my emacs is 25.1.1 and in terminal of mac 10.12.3. I have deleted the old .emacs.d and clone the latest version of .emacs.d but the problem is still occurs

@purcell
Copy link
Owner

purcell commented Feb 26, 2017

This problem should go away when company-mode/company-quickhelp#64 is merged upstream.

@purcell
Copy link
Owner

purcell commented Feb 27, 2017

I believe this is now fixed upstream in company-quickhelp.

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

No branches or pull requests

3 participants