From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: A new(?) warning of erase-buffer, which was not seen before. Date: Tue, 20 Mar 2007 10:42:39 +0100 Message-ID: References: <45FDF35F.6030605@ubin.jp> <45FF5975.1070602@ubin.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1174383797 4595 80.91.229.12 (20 Mar 2007 09:43:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 20 Mar 2007 09:43:17 +0000 (UTC) Cc: emacs-devel@gnu.org To: ishikawa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 20 10:43:10 2007 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 1HTarz-0005id-S6 for ged-emacs-devel@m.gmane.org; Tue, 20 Mar 2007 10:43:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HTatX-0006S0-Bw for ged-emacs-devel@m.gmane.org; Tue, 20 Mar 2007 04:44:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HTatT-0006O5-Re for emacs-devel@gnu.org; Tue, 20 Mar 2007 05:44:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HTatS-0006J8-Bz for emacs-devel@gnu.org; Tue, 20 Mar 2007 05:44:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HTatS-0006Im-4o for emacs-devel@gnu.org; Tue, 20 Mar 2007 04:44:38 -0500 Original-Received: from pfepb.post.tele.dk ([195.41.46.236]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HTart-00036f-GD for emacs-devel@gnu.org; Tue, 20 Mar 2007 05:43:01 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (unknown [80.165.4.124]) by pfepb.post.tele.dk (Postfix) with SMTP id AC178A5008C; Tue, 20 Mar 2007 10:42:44 +0100 (CET) In-Reply-To: <45FF5975.1070602@ubin.jp> (ishikawa's message of "Tue\, 20 Mar 2007 12\:48\:05 +0900") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:68150 Archived-At: ishikawa writes: > It is only that I am a little puzzled that I didn't get this warning > in the previous versions 21.x (and prior), and I am wondering > if there is a better memory allocation/checking introduced in 22.0 > which causes this warning to appear. In the older versions, say 21.x > (and prior), I have not seen this message. Those warnings are new in Emacs 22. In Emacs 21 and before, there is a risk of running out of memory and Emacs crashing. In Emacs 22, more checks and automatic measures like undo-outer-limit have been added to prevent running out of memory, and to give feedback to the user when those measures kick in. Here's what C-h C-n (aka NEWS) says about it: ** When the undo information of the current command gets really large (beyond the value of `undo-outer-limit'), Emacs discards it and warns you about it. -- Kim F. Storm http://www.cua.dk