cider icon indicating copy to clipboard operation
cider copied to clipboard

tooltip-mode always ignored

Open weissjeffm opened this issue 7 years ago • 2 comments

Expected behavior

Hovering the mouse over function names in clojure buffers will display tooltips when cider-use-tooltips and tooltip-mode is on.

Actual behavior

No tooltips

Steps to reproduce the problem

(tooltip-mode) (setq cider-use-tooltips t)

Jack in.

Hover over function names in clojure buffers

Environment & Version information

CIDER version information

;; CIDER 0.18.0snapshot (package: 20180514.427), nREPL 0.2.13 ;; Clojure 1.8.0, Java 1.8.0_171

Lein/Boot version

Leiningen 2.8.1

Emacs version

GNU Emacs 26.1 (build 1, x86_64-apple-darwin17.4.0, NS appkit-1561.20 Version 10.13.3 (Build 17D47)) of 2018-05-18

Operating system

OS X 10.13.3

Diagnosis

The function cider--help-echo misunderstands the variable help-at-pt-display-when-idle. In the customize buffer, that variable can be "Never", "Always", "In certain situations". nil is not an option. But the cider--help-echo function checks (not help-at-pt-display-when-idle) to see if help at point is enabled (because it doesn't want to do mouse-based and point-based at the same time, which makes sense.

Adding (setq help-at-pt-display-when-idle nil) to my config works around this issue.

The fix should probably check to see if the value is "never" or nil.

weissjeffm avatar May 22 '18 18:05 weissjeffm

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution and understanding!

stale[bot] avatar May 08 '19 18:05 stale[bot]

Fixed by #3186

yuhan0 avatar Apr 29 '22 14:04 yuhan0