Dear Log,
So that emacs dired mode understands my habit of hitting f5 or control-r to refresh directory listings:
(add-hook 'dired-mode-hook '(lambda () (define-key dired-mode-map [f2] 'dired-do-rename) (define-key dired-mode-map "\C-r" 'revert-buffer) (define-key dired-mode-map [f5] 'revert-buffer) ))