Hello, The attached patch adds the command `edmacro-set-macro-to-region-lines` for quickly reducing the presented keys to those in the region, and adds the user option `edmacro-reverse-key-order` for showing the most recent keys first. These two changes are useful for `kmacro-edit-lossage`. My use case is that I would like to quickly create a keyboard macro from some of my recent key presses, but Edmacro is slow to use when the lossage size is large. When it is large, I must jump to the bottom of the buffer, then cut the desired lines, then jump back up, then delete the remaining lines, then paste the cut lines, then press `C-c C-c`. If I use `delete-selection-mode`, I can combine two of the steps. With this new change from the patch, I can move down a few lines, select a few lines, then press `C-c C-r`, then press `C-c C-c`. Thank you.