Here’s a bit of code to enable on-the-fly syntax checking in ruby. You’ll need emacs 22, which includes flymake mode. (require 'flymake) ;; I don't like the default colors :) (set-face-background 'flymake-errline "red4") (set-face-background 'flymake-warnline "dark slate blue") ;; Invoke ruby with '-c' to get syntax checking (defun flymake-ruby-init () (let* ((temp-file (flymake-init-create-temp-b