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: Mon, 16 Nov 2009 10:41:54 -0500 Message-ID: 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 1258386162 29356 80.91.229.12 (16 Nov 2009 15:42:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Nov 2009 15:42:42 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 16 16:42:35 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 1NA3ii-0006H1-Bi for ged-emacs-devel@m.gmane.org; Mon, 16 Nov 2009 16:42:24 +0100 Original-Received: from localhost ([127.0.0.1]:51256 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NA3ih-00026M-Tq for ged-emacs-devel@m.gmane.org; Mon, 16 Nov 2009 10:42:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NA3iL-0001rV-5c for emacs-devel@gnu.org; Mon, 16 Nov 2009 10:42:01 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NA3iG-0001ma-Mz for emacs-devel@gnu.org; Mon, 16 Nov 2009 10:42:00 -0500 Original-Received: from [199.232.76.173] (port=56555 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NA3iG-0001mL-D0 for emacs-devel@gnu.org; Mon, 16 Nov 2009 10:41:56 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:4057 helo=ironport2-out.pppoe.ca) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NA3iF-0000a6-Vo for emacs-devel@gnu.org; Mon, 16 Nov 2009 10:41:56 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAJYBAUtMCqHJ/2dsb2JhbACBTNUShDwEiT6Ceg X-IronPort-AV: E=Sophos;i="4.44,751,1249272000"; d="scan'208";a="49474421" Original-Received: from 76-10-161-201.dsl.teksavvy.com (HELO pastel.home) ([76.10.161.201]) by ironport2-out.pppoe.ca with ESMTP; 16 Nov 2009 10:41:54 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id BAAACF1A31; Mon, 16 Nov 2009 10:41:54 -0500 (EST) In-Reply-To: <200911161510.nAGFA0hf015168@godzilla.ics.uci.edu> (Dan Nicolaescu's message of "Mon, 16 Nov 2009 07:10:00 -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:117039 Archived-At: >> > 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, Stefan