racer-rust / emacs-racer

Racer support for Emacs
399 stars 48 forks source link

Docstring in tooltip raises an error #102

Closed apiraino closed 5 years ago

apiraino commented 6 years ago

Hello,

following the merge of #94 I tried using racer-describe-tooltip instead of racer-describe, however I'm getting this error in Messages buffer:

pos-tip-frame-top-left-coordinates: text-only frame: #<frame F1 0xb98678>

The relevant config for racer in my custom emacs file is as follows:

 ; Racer
 (use-package racer
     :init
     (add-hook 'rust-mode-hook #'racer-mode)
     (add-hook 'racer-mode-hook #'eldoc-mode)
     (global-set-key (kbd "C-c ?") 'racer-describe-tooltip)
     (global-set-key (kbd "C-c .") 'racer-find-definition)
     (global-set-key (kbd "C-c ,") 'pop-tag-mark)
 )

The error is generated by pos-tip but I could not find any hint on how to solve.

I'm using racer-20171211.1548 from Melpa

Any help? (I'm no emacs expert by any means...)

thanks

apiraino commented 5 years ago

I forgot about this issue ... on racer-20181213.225 it works. Either it was fixed or something else changed and incidentally fixed that.