vc annnotate key maps seems not to work.

Uwe Brauer oub at mat.ucm.es
Fri May 7 09:26:18 EDT 2010


Hello 

I use vc-annotate in a file under version control. The
annotate buffer is displayed, and 
C-h m describes keybinding like this

A				vc-annotate-revision-previous-to-line
D				vc-annotate-show-diff-revision-at-line
J				vc-annotate-revision-at-line
L				vc-annotate-show-log-revision-at-line
N				vc-annotate-next-version
P				vc-annotate-prev-version
W				vc-annotate-workfile-version

But that is not the case, pressing A does not execute the
corresponding command.

So I did the following 
(defun my-vc-annotate-keys ()
  (interactive)
  (local-set-key "A"	'vc-annotate-revision-previous-to-line)
  (local-set-key "D"	'vc-annotate-show-diff-revision-at-line)
  (local-set-key "J"	'vc-annotate-revision-at-line)
  (local-set-key "L"	'vc-annotate-show-log-revision-at-line)
  (local-set-key "N"	'vc-annotate-next-version)
  (local-set-key "P"	'vc-annotate-prev-version)
  (local-set-key "W"	'vc-annotate-workfile-version))


(add-hook  'vc-annotate-mode-hook 'my-vc-annotate-keys)

But again the binding does not work. 

Help would be appreciated 

thanks

Uwe Brauer 



More information about the XEmacs-Beta mailing list