From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ishikawa Newsgroups: gmane.emacs.devel Subject: Re: A new(?) warning of erase-buffer, which was not seen before. Date: Tue, 20 Mar 2007 12:52:24 +0900 Message-ID: <45FF5A78.8050106@ubin.jp> References: <45FDF35F.6030605@ubin.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1174362763 29909 80.91.229.12 (20 Mar 2007 03:52:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 20 Mar 2007 03:52:43 +0000 (UTC) Cc: emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 20 04:52:36 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 1HTVOl-0000qq-DD for ged-emacs-devel@m.gmane.org; Tue, 20 Mar 2007 04:52:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HTVQG-0005RS-W8 for ged-emacs-devel@m.gmane.org; Mon, 19 Mar 2007 22:54:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HTVQD-0005RM-BV for emacs-devel@gnu.org; Mon, 19 Mar 2007 23:54:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HTVQB-0005R9-Ht for emacs-devel@gnu.org; Mon, 19 Mar 2007 23:54:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HTVQB-0005R6-FP for emacs-devel@gnu.org; Mon, 19 Mar 2007 22:54:03 -0500 Original-Received: from post.ubin.jp ([202.32.0.84]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HTVOc-00015Z-7s; Mon, 19 Mar 2007 23:52:26 -0400 Original-Received: from post.ubin.jp (post [127.0.0.1]) by localhost.ubin.jp (Postfix) with ESMTP id 3CF4E29AC2C; Tue, 20 Mar 2007 12:52:25 +0900 (JST) Original-Received: from [10.254.248.233] (dell-w2k-note.ddns.member.ubin.jp [10.254.248.233]) by post.ubin.jp (Postfix) with ESMTP id DC48029AB22; Tue, 20 Mar 2007 12:52:24 +0900 (JST) User-Agent: Thunderbird 1.5.0.10 (X11/20070221) In-Reply-To: X-detected-kernel: Linux 2.4-2.6 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:68139 Archived-At: Richard Stallman wrote: > In the old emacs version(s), it used to be that erase-buffer intentionally > discarded undo information if I recall correctly. The buffer in question, namely > "*sim*", contained > a voluminous output of a running simulator program and I simply want to > throw away the contents from time to time. And thus, undo is not necessary > for this buffer. > > If you don't want it to collect undo information, do > M-x buffer-disable-undo, or (setq buffer-undo-list t). > Thank you. I will do that. (Makes me wonder, though, why I didn't get the warning when I ran "erase-buffer" before. Maybe the logic to show the warning has been improved...) Chiaki Ishikawa