From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: pointless buttons at end of VC log buffers Date: Tue, 16 Feb 2010 11:49:49 -0500 Message-ID: References: <87pr45zqn3.fsf@telefonica.net> <87ljetz5ha.fsf@telefonica.net> <87wrydb80p.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1266339006 14255 80.91.229.12 (16 Feb 2010 16:50:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Feb 2010 16:50:06 +0000 (UTC) Cc: =?iso-8859-1?Q?=D3scar?= Fuentes , emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 16 17:49:58 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NhQcX-0003By-CK for ged-emacs-devel@m.gmane.org; Tue, 16 Feb 2010 17:49:57 +0100 Original-Received: from localhost ([127.0.0.1]:59691 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NhQcW-00082x-Uz for ged-emacs-devel@m.gmane.org; Tue, 16 Feb 2010 11:49:57 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NhQcS-00081q-Kh for emacs-devel@gnu.org; Tue, 16 Feb 2010 11:49:52 -0500 Original-Received: from [140.186.70.92] (port=40341 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NhQcS-00081G-6C for emacs-devel@gnu.org; Tue, 16 Feb 2010 11:49:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NhQcR-0005wM-VS for emacs-devel@gnu.org; Tue, 16 Feb 2010 11:49:52 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:53125) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NhQcQ-0005w1-Qy; Tue, 16 Feb 2010 11:49:50 -0500 Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id o1GGnn5Y028874; Tue, 16 Feb 2010 11:49:49 -0500 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 674133AE58; Tue, 16 Feb 2010 11:49:49 -0500 (EST) In-Reply-To: <87wrydb80p.fsf@catnip.gol.com> (Miles Bader's message of "Tue, 16 Feb 2010 22:54:46 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3471=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:121146 Archived-At: >> 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. > Hmm, it seems quite feasible to detect the number, though it might be > backend-specific. Yes, the info whether the list is complete or not should be returned by the backend (so it can either count the lines or do whatever else works). Stefan