emacs-devel
[Top][All Lists]
Advanced

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

Re: A vc wish: vc-timemachine


From: John Yates
Subject: Re: A vc wish: vc-timemachine
Date: Sun, 16 Oct 2022 07:49:19 -0400

On Sun, Oct 16, 2022 at 1:30 AM Eli Zaretskii <eliz@gnu.org> wrote:
>
> Doesn't vc-region-history (C-x v h) fit the bill?

No.  vc-region-history's presents a concatenation of diffs.

git-timemachine is more akin to a non-existent
vc-revision-same-window.  It is a minor mode applied to a buffer
visiting a version controlled file.  It renders that buffer readonly
and then allows one to 'scroll' backward and forward over that file's
linear history, always showing a fully reconstructed revision, reusing
a single buffer.

My druthers would be for a vc-browse command that pops a new buffer
containing the most recently committed revision of the subject file.
It would support operations similar to git-timemachine:
* vc-browse-show-previous
* vc-browse-show-next

git-timemachine style refinements could include:
* vc-browse-show-commit
* vc-browse-show-annotation
* vc-browsw-goto-earlier-commit   (regex search)



reply via email to

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