Subject: Re: bug#2604: 23.0.91; key bindings in vc-annotate incompatible w/ Emacs 22

From: Stefan Monnier <[email-masked]>
Date: Tue, 10 Mar 2009 22:06:24 -0400

>> > --8<---------------cut here---------------start------------->8---
>> > --- vc-annotate.el	09 Jan 2009 09:52:59 +0100	1.7
>> > +++ vc-annotate.el	09 Mar 2009 20:35:28 +0100	
>> > @@ -506,7 +506,10 @@
>> >    "Visit the diff of the revision at line from its previous revision for all files in the changeset."
>> >    (interactive)
>> >    (when (eq 'file (vc-call-backend vc-annotate-backend 'revision-granularity))
>> > -    (error "The %s backend does not support changeset diffs" vc-annotate-backend))
>> > +    (error
>> > +     (substitute-command-keys "The %s backend does not support changeset diffs.  \
>> > +Use \\[vc-annotate-show-diff-revision-at-line] to diff this file.")
>> > +     vc-annotate-backend))
>> >    (vc-annotate-show-diff-revision-at-line-internal nil))
>> 
>> We could also fallback to the single-file diff code when the fileset is
>> a singleton.

> This is vc-annotate, the fileset (if you are referring to the vc.el
> notion of fileset) is always singleton.

I meant changeset.  But, yes, I now realize that we don't know the size
of the changeset, so we can't do any better than what we do now.

        Stefan