emacs-devel
[Top][All Lists]
Advanced

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

Re: (vc-annotate-revision-previous-to-line) rcs, cannot go back


From: Thien-Thi Nguyen
Subject: Re: (vc-annotate-revision-previous-to-line) rcs, cannot go back
Date: Sat, 20 Apr 2013 11:42:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

() Uwe Brauer <address@hidden>
() Fri, 19 Apr 2013 12:28:15 +0200

   1.1 1.2 1.3 1.4
   2.1 2.2

   [...]

   Anybody knows about a hack to achieve jumping from 2.1 to 1.4.

Here's a quick and dirty hack:

Attachment: vc-rcs-previous-revision.el
Description: application/emacs-lisp

Tested with:

Attachment: mkfoo
Description: application/shell-script

and:  C-x C-f /tmp/foo RET
      M->
      C-x v g
      p
      p
      p
      p
      p
      p

It's dirty because it calls rlog(1) directly, sidestepping the VC
abstractions, and what's worse, that info was already laboriously
computed in the process of preparing the annotation buffer, then
discarded (the infelicity is not limited to this function).  :-/

-- 
Thien-Thi Nguyen
GPG key: 4C807502

Attachment: pgpgdPSGPsm3t.pgp
Description: PGP signature


reply via email to

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