GNU bug report logs -
#48359
28.0.50; vc-annotate revert doesn't work
Previous Next
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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 48359 in the body.
You can then email your comments to 48359 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#48359
; Package
emacs
.
(Tue, 11 May 2021 18:56:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Dima Kogan <dima <at> secretsauce.net>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Tue, 11 May 2021 18:56:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#48359
; Package
emacs
.
(Tue, 11 May 2021 19:11:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 48359 <at> debbugs.gnu.org (full text, mbox):
> From: Dima Kogan <dima <at> secretsauce.net>
> Date: Tue, 11 May 2021 11:55:33 -0700
>
> 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?
Here's the backtrace of the code which sets revert-buffer-function to
help-mode-revert-buffer:
help-mode()
help-mode-setup()
run-hooks(temp-buffer-setup-hook)
vc-annotate("d:/gnu/git/emacs/trunk/src/bidi.c" ...
funcall-interactively(vc-annotate "d:/gnu/git/emacs/trunk/src/bidi.c" ...
call-interactively(vc-annotate nil nil)
command-execute(vc-annotate)
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#48359
; Package
emacs
.
(Mon, 11 Jul 2022 14:29:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 48359 <at> debbugs.gnu.org (full text, mbox):
Dima Kogan <dima <at> secretsauce.net> writes:
> 3. g
> Should "revert" the annotation buffer
>
> This last step doesn't work: I get
>
> apply: Symbol's function definition is void: nil
I've now fixed this in Emacs 29. (By just resetting
`revert-buffer-function'.) It might make sense to make a real reversion
function, but that doesn't really seem that useful in one of these buffers.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
bug marked as fixed in version 29.1, send any further explanations to
48359 <at> debbugs.gnu.org and Dima Kogan <dima <at> secretsauce.net>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Mon, 11 Jul 2022 14:29:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 09 Aug 2022 11:24:09 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 261 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.