GNU bug report logs -
#1420
annotate from log-view displays junk buffer
Previous Next
Reported by: Per Cederqvist <ceder <at> ingate.com>
Date: Mon, 24 Nov 2008 16:15:02 UTC
Severity: normal
Done: Chong Yidong <cyd <at> stupidchicken.com>
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 1420 in the body.
You can then email your comments to 1420 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1420
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Per Cederqvist <ceder <at> ingate.com>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
1. Open a version-controlled file. (The one I used is maintained by
Mercurial, but I don't think that matters.)
2. Bring up the log of revisions with "C-x v l" (vc-print-log).
3. Move to an interesting revision with TAB.
4. Press "a" to annotate that revision (log-view-annotate-version).
The annotations are properly inserted in a buffer named "*Annotate
slidegtk.py (rev 19)*", but that buffer is not displayed. Instead,
an empty buffer named "Annotating... done" is displayed.
The cause seems to be that log-view-annotate-version expects
vc-annotate to return the buffer. But at least in Emacs 22.3,
vc-annotate returns whatever the function message returns. The
following patch seems to fix the problem:
--- vc.el~ 2008-11-24 12:25:24.857985150 +0100
+++ vc.el 2008-11-24 12:25:46.288999164 +0100
@@ -3223,7 +3223,8 @@
display-mode)))
(when current-line
(goto-line current-line temp-buffer-name))
- (message "Annotating... done")))
+ (message "Annotating... done")
+ temp-buffer-name))
(defun vc-annotate-prev-version (prefix)
"Visit the annotation of the version previous to this one.
In GNU Emacs 22.3.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2008-09-10 on yagi.ingate.se
Windowing system distributor `The X.Org Foundation', version 11.0.60802000
configured using `configure '--prefix=/sw/emacs/22.3''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: nil
locale-coding-system: nil
default-enable-multibyte-characters: t
Major mode: Fundamental
Minor modes in effect:
tooltip-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
blink-cursor-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
line-number-mode: t
Recent input:
C-x C-f s <tab> <return> C-x v l <tab> <tab> a M-x
r e p o r t - e m a c s - b u g <return>
Recent messages:
Loading log-view...
Loading easy-mmode...done
Loading log-view...done
Annotating...
Loading help-mode...done
Redisplaying annotation...done
Annotating... done
Loading emacsbug...
Loading regexp-opt...done
Loading emacsbug...done
Reply sent to
Chong Yidong <cyd <at> stupidchicken.com>
:
You have taken responsibility.
Full text and
rfc822 format available.
Notification sent to
Per Cederqvist <ceder <at> ingate.com>
:
bug acknowledged by developer.
Full text and
rfc822 format available.
Message #10 received at 1420-done <at> emacsbugs.donarmstrong.com (full text, mbox):
> The cause seems to be that log-view-annotate-version expects
> vc-annotate to return the buffer. But at least in Emacs 22.3,
> vc-annotate returns whatever the function message returns. The
> following patch seems to fix the problem:
I fixed this with a change to log-view-annotate-version instead. Thanks
for the bug report.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> emacsbugs.donarmstrong.com
.
(Tue, 23 Dec 2008 15:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 16 years and 182 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.