Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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
Replies are listed 'Best First'.
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 musing on the Monastery: (13)
As of 2015-07-07 20:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls