I feel that every "can I do $x in Emacs?" question has a "yes, $elisp_src" answer. Many answers are followed with a "but why?" however.