From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: limit the number of log entries displayed by C-x v l Date: Wed, 18 Nov 2009 10:19:18 -0800 (PST) Message-ID: <200911181819.nAIIJIUk009684@godzilla.ics.uci.edu> 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 1258568795 25621 80.91.229.12 (18 Nov 2009 18:26:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Nov 2009 18:26:35 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 18 19:26:28 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 1NApEZ-00022M-85 for ged-emacs-devel@m.gmane.org; Wed, 18 Nov 2009 19:26:27 +0100 Original-Received: from localhost ([127.0.0.1]:51266 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NApEY-00084S-IH for ged-emacs-devel@m.gmane.org; Wed, 18 Nov 2009 13:26:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NAp9K-0002yt-O6 for emacs-devel@gnu.org; Wed, 18 Nov 2009 13:21:02 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NAp9F-0002uz-2e for emacs-devel@gnu.org; Wed, 18 Nov 2009 13:21:01 -0500 Original-Received: from [199.232.76.173] (port=50257 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAp9E-0002uq-VE for emacs-devel@gnu.org; Wed, 18 Nov 2009 13:20:56 -0500 Original-Received: from colin-baker-v0.ics.uci.edu ([128.195.1.153]:40246) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NAp9E-00073N-7w for emacs-devel@gnu.org; Wed, 18 Nov 2009 13:20:56 -0500 Original-Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by colin-baker-v0.ics.uci.edu (8.13.8/8.13.8) with ESMTP id nAIIJI7L021381 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 18 Nov 2009 10:19:18 -0800 Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id nAIIJIUk009684; Wed, 18 Nov 2009 10:19:18 -0800 (PST) In-Reply-To: (Stefan Monnier's message of "Tue, 17 Nov 2009 14:54:58 -0500") Original-Lines: 25 X-ICS-MailScanner-Information: Please send mail to helpdesk@ics.uci.edu or more information X-ICS-MailScanner-ID: nAIIJI7L021381 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu 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:117196 Archived-At: Stefan Monnier writes: > > 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. Then one can just do C-x v l ... 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?