From Maslab 2007
Tips
To turn on syntax highlighting, parentheses matching, and region highlighting, add these lines to your ~/.emacs file:
(global-font-lock-mode 1)
(show-paren-mode 1)
(transient-mark-mode 1)
This makes writing Java in Emacs more convenient.