Emacs shortcuts of the day: C-M-a moves to beginning of a function, C-M-e to the end, and C-M-h selects it.