>>> "RP" == Robert Pluim writes: >>>>>> On Mon, 24 Oct 2022 20:28:20 +0300, Dmitry Gutov said: Dmitry> If might be handy to add commands that act on region (and delete full Dmitry> hunks, for instance), so that you aren't forced to toggle read-only. > Deleting hunks is already supported: > k runs the command diff-hunk-kill (found in diff-mode-shared-map), > which is an interactive byte-compiled Lisp function in `diff-mode.el'. > It is bound to k and M-k. > (diff-hunk-kill) > Kill the hunk at point. Thanks, I think I mentioned that > Extending that to support a prefix count arg and the region shouldnʼt > be too hard. I am not sure that prefix count would be that useful (I wouldn't count hunk before deleting them in mass. It sounds a bit like a keyboard macro) Deleting regions would be nice, however > obert -- Warning: Content may be disturbing to some audiences I strongly condemn Putin's war of aggression against the Ukraine. I support to deliver weapons to Ukraine's military. I support the ban of Russia from SWIFT. I support the EU membership of the Ukraine. https://addons.thunderbird.net/en-US/thunderbird/addon/gmail-conversation-view/