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 07:10:00 -0800 (PST) Message-ID: <200911161510.nAGFA0hf015168@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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1258384319 21634 80.91.229.12 (16 Nov 2009 15:11:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Nov 2009 15:11:59 +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 16:11:51 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 1NA3F8-00069G-Vx for ged-emacs-devel@m.gmane.org; Mon, 16 Nov 2009 16:11:51 +0100 Original-Received: from localhost ([127.0.0.1]:55625 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NA3F8-00079r-Bd for ged-emacs-devel@m.gmane.org; Mon, 16 Nov 2009 10:11:50 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NA3F0-000798-Dm for emacs-devel@gnu.org; Mon, 16 Nov 2009 10:11:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NA3Ev-00075S-Ai for emacs-devel@gnu.org; Mon, 16 Nov 2009 10:11:41 -0500 Original-Received: from [199.232.76.173] (port=42581 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NA3Ev-00075F-5n for emacs-devel@gnu.org; Mon, 16 Nov 2009 10:11:37 -0500 Original-Received: from colin-baker-v0.ics.uci.edu ([128.195.1.153]:42265) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NA3Eu-0003li-P5 for emacs-devel@gnu.org; Mon, 16 Nov 2009 10:11:37 -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 nAGFA0lm005149 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 16 Nov 2009 07:10:00 -0800 Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id nAGFA0hf015168; Mon, 16 Nov 2009 07:10:00 -0800 (PST) In-Reply-To: (Stefan Monnier's message of "Mon, 16 Nov 2009 09:22:32 -0500") Original-Lines: 16 X-ICS-MailScanner-Information: Please send mail to helpdesk@ics.uci.edu or more information X-ICS-MailScanner-ID: nAGFA0lm005149 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:117038 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. > 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?