emacs-racer icon indicating copy to clipboard operation
emacs-racer copied to clipboard

Disabling racer-mode does not disable eldoc

Open Wilfred opened this issue 8 years ago • 3 comments

This annoying as it makes it harder to disable eldoc on machines that don't have racer installed.

The problem is that eldoc-documentation-function is never reset.

Wilfred avatar Feb 06 '17 13:02 Wilfred

For some reason on one of my projects racer is very slow and eldoc makes it near unusable,

As a workaround this works:

(add-hook
 'rust-mode-hook
 (lambda ()
   (racer-mode)
   (setq-local eldoc-documentation-function #'ignore)  ;; <-- override eldoc function!

ideasman42 avatar Mar 12 '17 11:03 ideasman42

@ideasman42 could you run M-x racer-debug immediately after eldoc has been slow? This should give you enough information to report a racer bug.

Wilfred avatar Mar 13 '17 00:03 Wilfred

Submitted report #82

ideasman42 avatar Mar 13 '17 04:03 ideasman42