From: Uwe Brauer <oub@mat.ucm.es>
To: emacs-devel@gnu.org
Subject: feature proposal diff-mode: kill various hunks or mark then and invert the mark
Date: Tue, 16 Aug 2022 16:41:14 +0200 [thread overview]
Message-ID: <877d38qmid.fsf@mat.ucm.es> (raw)
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.
next reply other threads:[~2022-08-16 14:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-16 14:41 Uwe Brauer [this message]
2022-08-16 15:03 ` feature proposal diff-mode: kill various hunks or mark then and invert the mark 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877d38qmid.fsf@mat.ucm.es \
--to=oub@mat.ucm.es \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.