-
Notifications
You must be signed in to change notification settings - Fork 10
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
flycheck-pos-tip prevents the use of any other tooltips #13
Comments
After taking another look, I think this was caused by a bad function in my personal post-command-hook. I can't reproduce, so I'll close it. |
I'm actually getting this in a spacemacs install: syl20bnr/spacemacs#8551 I admit I don't know if it works for a clean emacs install or not though. |
Please try reproducing it in a clean Emacs, and let us know :) |
Ok, it's still happening for me. Using i3 manager on Ubuntu Yakkety. On Emacs, build: edit I installed emacs-snapshot from the ubuntu elisp ppa: https://launchpad.net/~ubuntu-elisp/+archive/ubuntu/ppa .emacs.d/init.el
Using package-list-packages, I installed flycheck-pos-tip. In scratch, M-x flycheck-pos-tip-mode C-x C-e to execute the same tooltip-show call shows nothing; some C-x C-e gives an occasional flicker of a tooltip |
Thanks. I'll have a look, but I think this is partly an emacs limitation (you can't have two tooltips in any case). This is being worked on for Emacs 26, btw. |
The root cause is ;; Don't hide pos tip to advoid suspress other pos tips.
(defun flycheck-pos-tip-hide-messages ()
"Hide messages currently being shown if any."
(flycheck-hide-error-buffer))) Please note that |
You can't use tooltips for anything else if flycheck-pos-tip is enabled.
flycheck-pos-tip-hide-messages
is inpost-command-hook
, so a call topos-tip-show
or any other command will hide the tooltip immediately after display.Steps to reproduce.
eval-expression
M-:(pos-tip-show "FLASH")
Possible fixes
The text was updated successfully, but these errors were encountered: