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: limit the number of log entries displayed by C-x v l Date: Tue, 17 Nov 2009 14:54:58 -0500 Message-ID: References: <200911122319.nACNJvUn006154@godzilla.ics.uci.edu> <200911130221.nAD2Lu4q007527@godzilla.ics.uci.edu> <200911130502.nAD52OVv008802@godzilla.ics.uci.edu> <200911171344.nAHDis0c026133@godzilla.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1258488545 19679 80.91.229.12 (17 Nov 2009 20:09:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Nov 2009 20:09:05 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 17 21:08:58 2009 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.50) id 1NAUME-00027V-CS for ged-emacs-devel@m.gmane.org; Tue, 17 Nov 2009 21:08:58 +0100 Original-Received: from localhost ([127.0.0.1]:36425 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAUMD-00042d-NT for ged-emacs-devel@m.gmane.org; Tue, 17 Nov 2009 15:08:57 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NAU8n-0003QM-U5 for emacs-devel@gnu.org; Tue, 17 Nov 2009 14:55:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NAU8j-0003NI-4W for emacs-devel@gnu.org; Tue, 17 Nov 2009 14:55:05 -0500 Original-Received: from [199.232.76.173] (port=56049 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAU8i-0003N3-Sx for emacs-devel@gnu.org; Tue, 17 Nov 2009 14:55:00 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:42545) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NAU8i-0002JU-ID for emacs-devel@gnu.org; Tue, 17 Nov 2009 14:55:00 -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 nAHJsx3c011209; Tue, 17 Nov 2009 14:54:59 -0500 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id DCE5A3A0FA; Tue, 17 Nov 2009 14:54:58 -0500 (EST) In-Reply-To: <200911171344.nAHDis0c026133@godzilla.ics.uci.edu> (Dan Nicolaescu's message of "Tue, 17 Nov 2009 05:44:54 -0800 (PST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3408=0 X-detected-operating-system: by monty-python.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:117123 Archived-At: > Here's a patch that implements only showing a single log entry from > vc-annotate. > It adds a START-REVISION argument to the print-log VC method. > It adds a boolean argument to vc-print-log-internal, when set it means > that the WORKING-REVISION argument is the start revision. > What do you think? Doesn't look too bad. Maybe the UI part could be improved (e.g. show the single log-comment in a tooltip), but that's fairly minor. Having tried it on Bzr I see that it's still sufficiently slow with that backend, that I might prefer to see the complete log so I can then navigate it to see the various revisions I'm interested in, rather than get a single-comment N times. Stefan