emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch: first impression]


From: Uwe Brauer
Subject: Re: [patch: first impression]
Date: Tue, 25 Oct 2022 11:14:27 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

>>> "RP" == Robert Pluim <rpluim@gmail.com> writes:

>>>>>> On Mon, 24 Oct 2022 20:28:20 +0300, Dmitry Gutov <dgutov@yandex.ru> 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/

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]