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 09:22:32 -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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1258381454 9744 80.91.229.12 (16 Nov 2009 14:24:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Nov 2009 14:24:14 +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 15:24:07 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 1NA2Th-0005qy-St for ged-emacs-devel@m.gmane.org; Mon, 16 Nov 2009 15:22:50 +0100 Original-Received: from localhost ([127.0.0.1]:44967 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NA2Tc-0005TH-88 for ged-emacs-devel@m.gmane.org; Mon, 16 Nov 2009 09:22:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NA2TW-0005T1-64 for emacs-devel@gnu.org; Mon, 16 Nov 2009 09:22:38 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NA2TR-0005Rw-HT for emacs-devel@gnu.org; Mon, 16 Nov 2009 09:22:37 -0500 Original-Received: from [199.232.76.173] (port=35255 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NA2TR-0005Rl-CH for emacs-devel@gnu.org; Mon, 16 Nov 2009 09:22:33 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:7949 helo=ironport2-out.pppoe.ca) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NA2TR-0004Bb-6v for emacs-devel@gnu.org; Mon, 16 Nov 2009 09:22:33 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEANfuAEtMCqHJ/2dsb2JhbACBTNRFhDwEiT6Ceg X-IronPort-AV: E=Sophos;i="4.44,751,1249272000"; d="scan'208";a="49468295" 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 09:22:32 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 2BD2CF1A31; Mon, 16 Nov 2009 09:22:32 -0500 (EST) In-Reply-To: <200911160940.nAG9ee0a012894@godzilla.ics.uci.edu> (Dan Nicolaescu's message of "Mon, 16 Nov 2009 01:40:40 -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:117036 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. You could make `print-log' return the relevant info instead. Stefan