* vc-annotate-show-diff-revision-at-line jumps to beginning of the diff buffer, why not to the line in question?
@ 2020-09-28 21:09 Uwe Brauer
2020-09-30 18:53 ` Juri Linkov
0 siblings, 1 reply; 2+ messages in thread
From: Uwe Brauer @ 2020-09-28 21:09 UTC (permalink / raw)
To: emacs-devel
Hi
Recall:
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.
Regards
Uwe Brauer
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: vc-annotate-show-diff-revision-at-line jumps to beginning of the diff buffer, why not to the line in question?
2020-09-28 21:09 vc-annotate-show-diff-revision-at-line jumps to beginning of the diff buffer, why not to the line in question? Uwe Brauer
@ 2020-09-30 18:53 ` Juri Linkov
0 siblings, 0 replies; 2+ messages in thread
From: Juri Linkov @ 2020-09-30 18:53 UTC (permalink / raw)
To: emacs-devel
> 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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-30 18:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-28 21:09 vc-annotate-show-diff-revision-at-line jumps to beginning of the diff buffer, why not to the line in question? Uwe Brauer
2020-09-30 18:53 ` Juri Linkov
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).