http://qs321.pair.com?node_id=1006589


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