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: Wed, 18 Nov 2009 19:52:22 -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> <200911181819.nAIIJIUk009684@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 1258591959 4410 80.91.229.12 (19 Nov 2009 00:52:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Nov 2009 00:52:39 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 19 01:52:32 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 1NAvGB-0003an-Tj for ged-emacs-devel@m.gmane.org; Thu, 19 Nov 2009 01:52:32 +0100 Original-Received: from localhost ([127.0.0.1]:38739 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAvGB-0004Kn-JE for ged-emacs-devel@m.gmane.org; Wed, 18 Nov 2009 19:52:31 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NAvG7-0004KQ-CS for emacs-devel@gnu.org; Wed, 18 Nov 2009 19:52:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NAvG3-0004If-SW for emacs-devel@gnu.org; Wed, 18 Nov 2009 19:52:27 -0500 Original-Received: from [199.232.76.173] (port=59286 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAvG3-0004Ic-Pw for emacs-devel@gnu.org; Wed, 18 Nov 2009 19:52:23 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:3450 helo=ironport2-out.pppoe.ca) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NAvG3-0006NZ-EH for emacs-devel@gnu.org; Wed, 18 Nov 2009 19:52:23 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEALslBEvO+IIa/2dsb2JhbACBTdc/hDsEiVeDBg X-IronPort-AV: E=Sophos;i="4.44,767,1249272000"; d="scan'208";a="49631816" Original-Received: from 206-248-130-26.dsl.teksavvy.com (HELO pastel.home) ([206.248.130.26]) by ironport2-out.pppoe.ca with ESMTP; 18 Nov 2009 19:52:22 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 55FE28774; Wed, 18 Nov 2009 19:52:22 -0500 (EST) In-Reply-To: <200911181819.nAIIJIUk009684@godzilla.ics.uci.edu> (Dan Nicolaescu's message of "Wed, 18 Nov 2009 10:19:18 -0800 (PST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:117222 Archived-At: >> 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. > Then one can just do C-x v l ... Good point. > The reason I found your idea to show a single entry interesting: with > the limiting of C-x v l output that we do now by default, you can ask > for a log in vc-annotate and not get it if the log entry is old enough. > It's rather nice to see exactly the entry you asked for. > So what should we do? Change vc-annotate's code so that if the file's log is already displayed in the *vc-change-log* buffer, it just jumps to the appropriate entry, otherwise it does what your code did (i.e. ask the backend for just that revision's log). Stefan