Subject: History entries shouldn't have the exact region hardwired in

From: Dan Jacobson <[email-masked]>
Date: Thu, 25 Jul 2024 07:22:08 +0800

(repeat-complex-command)
is great, except when used after
(shell-command-on-region)
in which case we will be repeating
(shell-command-on-region 2234 2892 ...)
instead of just
(shell-command-on-region REGION-START REGION-END ...)
in other words the previous exact region is hardwired into
the history.

Yes, you might say well then just do `M-| <up> RET`.
Well that's harder to type than `<again>`, `<redo>`, `C-x M-:` or `C-x M-ESC`,
which are the bindings of repeat-complex-command.

So maybe for all history items, they shouldn't have the exact region hardwired in.