emacs-devel
[Top][All Lists]
Advanced

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

Re: [patch: first impression]


From: Robert Pluim
Subject: Re: [patch: first impression]
Date: Tue, 25 Oct 2022 10:19:31 +0200

>>>>> 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.

Extending that to support a prefix count arg and the region shouldnʼt
be too hard.

obert
-- 



reply via email to

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