emacs-devel
[Top][All Lists]
Advanced

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

Re: Adding refactoring capabilities to Emacs


From: Dmitry Gutov
Subject: Re: Adding refactoring capabilities to Emacs
Date: Mon, 4 Sep 2023 21:04:48 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

On 04/09/2023 20:23, Juri Linkov wrote:
A possible solution would be to support a region by 'C-c C-a'.
Then it will be possible to activate the region on the whole buffer
or on a few hunks, and type a single 'C-c C-a'.

Another problem is trying to do an atomic revert if a large diff, across multiple files, fails to apply somewhere in the middle.

Another problem that the changes are not saved automatically
on multiple files.  This limitation forces to use tricks like
'M-| git apply RET' after selecting the whole diff buffer with 'C-x h'
or a region of the diff buffer.  A "poor man's auto-save".

This approach might help with the above, though.



reply via email to

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