unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dima Kogan <dima@secretsauce.net>
To: 48359@debbugs.gnu.org
Subject: bug#48359: 28.0.50; vc-annotate revert doesn't work
Date: Tue, 11 May 2021 11:55:33 -0700	[thread overview]
Message-ID: <87o8dhyuai.fsf@jpl.nasa.gov> (raw)

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





             reply	other threads:[~2021-05-11 18:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-11 18:55 Dima Kogan [this message]
2021-05-11 19:10 ` bug#48359: 28.0.50; vc-annotate revert doesn't work Eli Zaretskii
2022-07-11 14:28 ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o8dhyuai.fsf@jpl.nasa.gov \
    --to=dima@secretsauce.net \
    --cc=48359@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).