Dec 20, 2010 Quickly using an Emacs macro Start recording: C-x ( Stop recording: C-x ) Apply to region: M-x apply-macro-to-region-lines