Emacs hl-line mode

I find it useful to have the line where the cursor is highlighted for certain Emacs modes.

Its quite easy:

1(require 'hl-line)
2
3(add-hook 'package-menu-mode-hook 'hl-line-mode)
4(add-hook 'gnus-group-mode-hook 'hl-line-mode)
5(add-hook 'gnus-summary-mode-hook 'hl-line-mode)
6(add-hook 'org-agenda-mode-hook 'hl-line-mode)
7(add-hook 'dired-mode-hook 'hl-line-mode)

I used highline.el for this in the past, but it stopped working for some reason, so I switched to hl-line.el. hl-line.el is included in Emacs proper.