Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by fisher (Priest)
on Dec 01, 2012 at 10:33 UTC ( [id://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.

Replies are listed 'Best First'.
Re^2: On the fly syntax checkers in emacs, ultraedit or vi
by LanX (Saint) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1006589]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (7)
As of 2024-04-25 11:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found