Miscellaneous Emacs utilities