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: Fri, 29 Sep 2023 13:21:43 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

On 29/09/2023 09:52, Eli Zaretskii wrote:
Date: Tue, 26 Sep 2023 15:11:17 +0300
Cc:joaotavora@gmail.com,monnier@iro.umontreal.ca,eliz@gnu.org,
  philipk@posteo.net,emacs-devel@gnu.org
From: Dmitry Gutov<dmitry@gutov.dev>

On 26/09/2023 15:03, Alfred M. Szmidt wrote:
     > With vc-diff (similar, diff-buffer-with-file) you are diffing whatever
     > you have against VC (or file), there is little point to edit via the
     > diff, and you'd more likley just save this to file or an email.  So in
     > those cases the buffer being read-only makes more sense.

     Sounds like you missed the new feature: committing a patch (C-v C-v in a
     vc-diff buffer). You would usually edit it as well.

I really hope you typoed that, rebinding C-v to something other than
scrolling is a beyond terrible idea.
Correction: C-x v v.
That functionality of "C-x v v" is only available for Git (and
basically is undocumented), so it's too early to declare victory.

It's available for Git, for Hg (two separate dedicated implementations), and for the other VCSes too on best-effort basis (see the function vc-default-checkin-patch).

Here was me asking for feedback from SVN/CVS users:

https://lists.gnu.org/archive/html/emacs-devel/2022-10/msg01355.html
https://lists.gnu.org/archive/html/emacs-devel/2022-10/msg01954.html



reply via email to

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