GNU bug report logs -
#2604
23.0.91; key bindings in vc-annotate incompatible w/ Emacs 22
Previous Next
Reported by: Reiner Steib <Reiner.Steib <at> gmx.de>
Date: Mon, 9 Mar 2009 03:05:08 UTC
Severity: normal
Done: Dan Nicolaescu <dann <at> ics.uci.edu>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Reiner Steib <reinersteib+gmane <at> imap.cc> writes:
> On Mon, Mar 09 2009, Dan Nicolaescu wrote:
>
> > Reiner Steib <reinersteib+gmane <at> imap.cc> writes:
> > > - D
> > >
> > > Instead of showing diff of revision at line (as in Emacs 22), I get:
> > >
> > > ,----[ *Messages* ]
> > > | vc-annotate-show-changeset-diff-revision-at-line:
> > > | The CVS backend does not support changeset diffs
> > > `----
> > >
> > > Is this change intended?
> >
> > It is.
> >
> > > I could understand that `D' should now work
> > > on change sets, but please at least mention it in NEWS and tell the
> > > user to try `d' instead or better just display the warning and than
> > > call `vc-annotate-show-diff-revision-at-line' if no change set
> > > operation is available.
> >
> > I am not sure that is better. But if you can suggest a better wording
> > for the error message, go for it.
>
> How about this? (Same in `log-view-diff-changeset', probably.)
>
> --- 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))
>
> (defun vc-annotate-warp-revision (revspec)
I am not too convinced that this is better, but if you think it's
better, then feel free to go ahead and change it.
I added a note in NEWS about the key bindings.
This bug report was last modified 16 years and 52 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.