Open timmywil opened 11 years ago
You could try C-h .
That works, would be nice if the cursor could trigger the help text, same way js2-mode works.
Personally I find it annoying, but I suppose you could add this to your js-mode-hook
. Or any other mode-hook where you use flymake.
(add-hook 'post-command-hook
(lambda ()
(display-local-help 1))
nil t)
Woops
I tried your suggestion. I couldn't get it to work.
Try copying the above code, opening a js file, and then M-: C-y RET. If this works, there was probably a problem setting up the mode-hook.
I've had great success with flymake-cursor. It does exactly what you want. It's quite useful for windowless emacs too (-nw)
https://github.com/init-js/jshint-mode/commit/dc4c30095919e5f20734e0324c895529f0317fa8
It would be great if I could stay on the keyboard to view errors rather than having to mouse over text.