help-gnu-emacs
[Top][All Lists]
Advanced

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

[SOLVED, sort of] (was: [External] : diff-mode: kill various hunks at on


From: Uwe Brauer
Subject: [SOLVED, sort of] (was: [External] : diff-mode: kill various hunks at once, something like kill-region?)
Date: Fri, 21 Oct 2022 20:45:42 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

>>> "DA" == Drew Adams <drew.adams@oracle.com> writes:

>> Does somebody know about a package that would allow to kill serval hunk
>> in one go or even having something like kill-region in a diff buffer?

> If what you mean is kill/delete several stretches
> of text at once, where you provide the limits of
> each such stretch, then you can do that with an
> iteration.  "At once" here would refer to the
> overall effect, but maybe you have something else
> in mind?
> ___

Well, the diff buffer in diff-mode is read-only, but that as I learned
is not essential. So toggling read-only off and using kill-region, does
the job! 

Sometimes the simplest solutions are the best. 🙃


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