Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: On the fly syntax checkers in emacs, ultraedit or vi

by fisher (Priest)
on Dec 01, 2012 at 10:33 UTC ( #1006589=note: print w/ replies, xml ) Need Help??


in reply to On the fly syntax checkers in emacs, ultraedit or vi

Default emacs installation on debian/wheezy, just open your file in emacs and hit M-x flymake-mode.

This mode has only two useful functions which you may want to assign to some keys like

(global-set-key [f5] 'flymake-goto-next-error) (global-set-key [f6] 'flymake-display-err-menu-for-current-line)
...in your .emacs.d/init.el file.

For even more fun run M-x cperl-mode and read it's docs with C-h m.


Comment on Re: On the fly syntax checkers in emacs, ultraedit or vi
Select or Download Code
Re^2: On the fly syntax checkers in emacs, ultraedit or vi
by LanX (Canon) on Dec 01, 2012 at 12:58 UTC
    For even more fun :)

    M-x customize-mode [RET] Major mode: flymake-mode [RET]

    (or click Options -> Customize Emacs -> Specific Group)

    And you're getting an interactive menu to change settings.

    For instance I've changed the error highlighting to underlining and switched off the option to flymake on file-load (security reasons).

    Cheers Rolf

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1006589]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (12)
As of 2014-12-22 16:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (121 votes), past polls