[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pointless buttons at end of VC log buffers

From: Óscar Fuentes
Subject: Re: pointless buttons at end of VC log buffers
Date: Tue, 16 Feb 2010 14:15:45 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (gnu/linux)

Miles Bader <address@hidden> writes:

> Óscar Fuentes <address@hidden> writes:
>>> * It seems like it should only show these buttons if the log listing
>>> gets interrupted for some reason.
>> For this, VC-log needs to count how many revisions it is showing and
>> compare with the number of revisions on the branch. Looks like too much
>> work. OTOH, on some backends (i.e. git) it is difficult to differentiate
>> the first (oldest) revision from any other on the log listing, as it
>> lacks revision numbers.
> I don't understand this....
> The underlying log command outputs all revisions by default, so if it
> didn't output all of them, that must have explicitly been requested by
> emacs, so emacs should know about it.

By default, Emacs asks to the underlying log command to output
`vc-log-show-limit' items, which right now defaults to 2000. However, if
there are less revisions, Emacs would need to detect this circumstance
somehow for knowing that the buttons are of no use.

> [Also, is it supposed to be operating incrementally?  At least with git,
> it just pauses for a while and then outputs the entire log at once.]

AFAIK, it runs asynchronously.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]