From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: emacs-devel@gnu.org
Subject: Re: feature proposal diff-mode: kill various hunks or mark then and invert the mark
Date: Sun, 28 Aug 2022 22:14:56 -0400 [thread overview]
Message-ID: <jwv1qszokyp.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <37d13eb3-8944-a7f5-e0f2-6280302f3b71@yandex.ru> (Dmitry Gutov's message of "Mon, 29 Aug 2022 04:15:18 +0300")
> Note that the difficulty depends on how complex you want the behavior to
> be. If it's always to keep one or several adjacent hunks - it's one
> thing. To be able to mark multiple disjoint hunks, however, that would
> require a different marking UI.
Indeed, it would require support for disjoint regions.
I'd welcome such a thing, and some of the infrastructure is ready for it.
Stefan
prev parent reply other threads:[~2022-08-29 2:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwv1qszokyp.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=dgutov@yandex.ru \
--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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).