emacs-devel
[Top][All Lists]
Advanced

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

Re: [patch: first impression]


From: Dmitry Gutov
Subject: Re: [patch: first impression]
Date: Mon, 24 Oct 2022 20:28:20 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2

On 24.10.2022 18:32, Uwe Brauer wrote:
I see. BTW I only realised by now that the fact that
a buffer in diff-mode is in read-only mode is not essential but not a
required feature.

Yes. And you can also edit the diff before typing 'C-x v v'.

I say this, because sometimes the diff file contains a lot of hunks and
I only want to commit 2 of say 20.

Then toggling read-only off and just delete the hunks via kill-region,
simplify things a lot (instead of killing each hunk separately, using
next-hunk and kill-hunk).

If might be handy to add commands that act on region (and delete full hunks, for instance), so that you aren't forced to toggle read-only.



reply via email to

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