emacs-devel
[Top][All Lists]
Advanced

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

Re: vc-annotate-show-diff-revision-at-line jumps to beginning of the dif


From: Juri Linkov
Subject: Re: vc-annotate-show-diff-revision-at-line jumps to beginning of the diff buffer, why not to the line in question?
Date: Wed, 30 Sep 2020 21:53:38 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

>     1. you call vc-annotate the annotate buffer pops up,
>
>     2. you select some line of say the last version and run
>
>     3. vc-annotate-show-diff-revision-at-line
>
>     4. The diff buffer pops up but the cursor is at the beginning of the
>        diff buffer.
>
> Couldn't jump, at least optionally, jump the cursor to the diff of the
> line where I fired up vc-annotate-show-diff-revision-at-line?
>
> I would find such a feature useful, I googled around but could not find
> neither a command or a pkg doing that.

This is related to bug#36526.  The same way as we have a line number in
the source file buffer and want to jump in the diff to the same offset,
similarly in your case you have a line number in the vc-annotate buffer
and want to jump in the diff hunk to the same offset.



reply via email to

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