[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature proposal diff-mode: kill various hunks or mark then and invert t
From: |
Uwe Brauer |
Subject: |
feature proposal diff-mode: kill various hunks or mark then and invert the mark |
Date: |
Tue, 16 Aug 2022 16:41:14 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Hi
When using diff mode, I sometimes have say 10 hunks but only want to
select one[1] and ignore the other. In the current implementation I have
to kill all 9 I don't want, and that is a bit cumbersome.
If I could select them all, un-select one and then kill the marked one,
that would be great.
Is such a functionality planned?
regards
Uwe Brauer
Footnotes:
[1] the reason is that I use commit-patch-buffer.el, that allows me to
commit via the external commit-patch command only certains hunks of
a diff buffer (hg commit -i is not supported by magit or vc-hg.el)
--
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.
- feature proposal diff-mode: kill various hunks or mark then and invert the mark,
Uwe Brauer <=