browse-at-remote icon indicating copy to clipboard operation
browse-at-remote copied to clipboard

Support vc-region-history

Open dakra opened this issue 6 years ago • 2 comments

browse-at-remote supports vc-annotate i.e. I can C-x v g, move to some line and I can browse-at-remote and it takes me to the commit. Since vc-region-history (C-x v h) is similar, it would be great if it worked there as well.

dakra avatar Dec 01 '17 07:12 dakra

Do I understand correct, that proposed behaviour is next:

  • User calls vc-region-history
  • vc-annotate opens new buffer, and user switches cursor there
  • calling browse-at-remote works in new buffer and brings us to proper window in browser

If yes, it sounds good. will do

rmuslimov avatar Dec 01 '17 07:12 rmuslimov

Think I wrote it confusing. I meant vc-annotate already works. So If I C-x v g and go to any line and call browse-at-remote it takes me to the website. This already works.

C-x v h (vc-region-history) also shows you the commits but in a different way (shows diff and log all at once) so I would like to call vc-region-history move to a commit and call browse-at-remote and be taken to the website.

(maybe that's what you said as well and just mixed up vc-annotate with vc-region-history)

dakra avatar Dec 01 '17 07:12 dakra