Region Convert (region-convert.el) Interactive Select text region (mark region) M-x region-convert (or press binding key) Input function name (completing read) Key binding (global-set-key (kbd "C-c r") 'region-convert) Use from Lisp (region-convert 5 22 'upcase)