Skip to content
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

Feature request: Error messages in mode line #17

Open
timmywil opened this issue Mar 28, 2013 · 7 comments
Open

Feature request: Error messages in mode line #17

timmywil opened this issue Mar 28, 2013 · 7 comments

Comments

@timmywil
Copy link

It would be great if I could stay on the keyboard to view errors rather than having to mouse over text.

@sabof
Copy link

sabof commented Mar 28, 2013

You could try C-h .

@timmywil
Copy link
Author

That works, would be nice if the cursor could trigger the help text, same way js2-mode works.

@sabof
Copy link

sabof commented Mar 28, 2013

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)

@timmywil
Copy link
Author

Woops

@timmywil timmywil reopened this Mar 28, 2013
@timmywil
Copy link
Author

I tried your suggestion. I couldn't get it to work.

@sabof
Copy link

sabof commented Mar 28, 2013

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.

@init-js
Copy link

init-js commented Oct 17, 2014

I've had great success with flymake-cursor. It does exactly what you want. It's quite useful for windowless emacs too (-nw)

init-js@dc4c300

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants