all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* feature proposal diff-mode: kill various hunks or mark then and invert the mark
@ 2022-08-16 14:41 Uwe Brauer
  2022-08-16 15:03 ` Stefan Monnier
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Uwe Brauer @ 2022-08-16 14:41 UTC (permalink / raw)
  To: emacs-devel


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. 




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-08-29  2:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-16 14:41 feature proposal diff-mode: kill various hunks or mark then and invert the mark Uwe Brauer
2022-08-16 15:03 ` Stefan Monnier
2022-08-24 17:49 ` Juri Linkov
2022-08-25 14:50 ` Sean Whitton
2022-08-29  1:15 ` Dmitry Gutov
2022-08-29  2:14   ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.