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: Mon, 16 Nov 2009 12:40:36 -0800 (PST) Message-ID: <200911162040.nAGKeaQl017671@godzilla.ics.uci.edu> References: <200911122319.nACNJvUn006154@godzilla.ics.uci.edu> <200911130221.nAD2Lu4q007527@godzilla.ics.uci.edu> <200911130502.nAD52OVv008802@godzilla.ics.uci.edu> <200911152055.nAFKtI8E006868@godzilla.ics.uci.edu> <200911160940.nAG9ee0a012894@godzilla.ics.uci.edu> <200911161510.nAGFA0hf015168@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 1258404257 30565 80.91.229.12 (16 Nov 2009 20:44:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Nov 2009 20:44:17 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 16 21:44:10 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 1NA8Qj-0007Zd-Qp for ged-emacs-devel@m.gmane.org; Mon, 16 Nov 2009 21:44:10 +0100 Original-Received: from localhost ([127.0.0.1]:57125 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NA8Qi-00065C-Ui for ged-emacs-devel@m.gmane.org; Mon, 16 Nov 2009 15:44:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NA8Ov-0004MJ-Lf for emacs-devel@gnu.org; Mon, 16 Nov 2009 15:42:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NA8Or-0004Go-Om for emacs-devel@gnu.org; Mon, 16 Nov 2009 15:42:17 -0500 Original-Received: from [199.232.76.173] (port=43815 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NA8Or-0004GN-E4 for emacs-devel@gnu.org; Mon, 16 Nov 2009 15:42:13 -0500 Original-Received: from colin-baker-v0.ics.uci.edu ([128.195.1.153]:60899) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NA8Oq-0003PD-UM for emacs-devel@gnu.org; Mon, 16 Nov 2009 15:42:13 -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 nAGKebWt002009 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 16 Nov 2009 12:40:37 -0800 Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id nAGKeaQl017671; Mon, 16 Nov 2009 12:40:36 -0800 (PST) In-Reply-To: (Stefan Monnier's message of "Mon, 16 Nov 2009 10:41:54 -0500") Original-Lines: 21 X-ICS-MailScanner-Information: Please send mail to helpdesk@ics.uci.edu or more information X-ICS-MailScanner-ID: nAGKebWt002009 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:117046 Archived-At: Stefan Monnier writes: > >> > Here's how this can be done. OK? > >> [...] > >> > + ;; Some backends cannot support output limits. > >> > + (when (memq backend '(RCS CVS SCCS)) (setq limit nil)) > >> This is not OK, no. > > How about the rest? This is about the most unimportant part of the > > patch. I can even be taken out. > > The rest seemed OK, yes. > > >> You could make `print-log' return the relevant info instead. > > Like say, make `vc-rcs-print-log' return `limit-unsupported' if passed a > > non-nil limit? OK with that kind of change? > > Yes, Checked in with the requested changes. I set vc-log-show-limit arbitrarily to 2000. It can be changed if it's considered too small or too big.