GNU bug report logs - #48359
28.0.50; vc-annotate revert doesn't work

Previous Next

Package: emacs;

Reported by: Dima Kogan <dima <at> secretsauce.net>

Date: Tue, 11 May 2021 18:56:01 UTC

Severity: normal

Found in version 28.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Dima Kogan <dima <at> secretsauce.net>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.0.50; vc-annotate revert doesn't work
Date: Tue, 11 May 2021 11:55:33 -0700
Hi. This should be simple, but I can't figure it out quickly. Can I get
another set of eyes?

Using a very recent emacs built from git.

Recipe:

1. emacs -Q -nw file_in_a_git_repo
   Any file in any repo works probably. I'm using ~/.emacs.d/init.el

2. C-x v g
   vc-annotate

3. g
   Should "revert" the annotation buffer

This last step doesn't work: I get

  apply: Symbol's function definition is void: nil

Looking into that, I see that 'g' maps to (revert-buffer), which makes
sense. For some reason, revert-buffer-function is set to
#'help-mode-revert-buffer. This feels very strange. And is the cause of
the error: help-mode-revert-buffer assumes we're looking at a Help
buffer, and tries to call nil as a function. Is this speaking to anybody?

Thanks




This bug report was last modified 2 years and 311 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.