GNU bug report logs -
#18959
25.0.50; vc-change-log displays "show 2x entries" even when none available
Previous Next
Reported by: Tom Tromey <tom <at> tromey.com>
Date: Wed, 5 Nov 2014 19:25:02 UTC
Severity: minor
Tags: fixed
Found in version 25.0.50
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Tom Tromey <tom <at> tromey.com> writes:
> I did "C-x v l" on a file with 5 revisions.
> They all appear in *vc-change-log*.
>
> At the bottom I see two buttons:
>
> Show 2X entries Show unlimited entries
>
> First, there aren't any more entries, so showing these buttons is
> confusing. That's somewhat understandable but it would be nice if it
> didn't do that.
(I'm going through old bug reports that unfortunately got no response at
the time.)
It would be -- and this behaviour is still present in Emacs 28. But I
guess the problem is that we don't really know how many revisions there
are?
On the other hand, we know how many revisions we asked for, and we know
how many we got. So if we asked for 2000 revisions, and got 5
revisions, then displaying those buttons is probably not necessary? And
that sounds like something that should be easy to implement. (If we
asked for 2000 and got 2000, then we don't know, and we'll probably get
a bug report on that, too, but whatevs).
I've now done this on the trunk, and it seem to work OK in my repos.
More testing in non-git VCs would be nice.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 4 years and 208 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.