emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A new(?) warning of erase-buffer, which was not seen before.


From: Kim F. Storm
Subject: Re: A new(?) warning of erase-buffer, which was not seen before.
Date: Mon, 19 Mar 2007 13:19:18 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux)

ishikawa <address@hidden> writes:

> Hi,
>
> When I ran "erase-buffer" on a buffer named "*sim*", I got
> the following warning, which I didn't get with older version of Emacs.
>
> Is this warning an intentional one?

Yes.


> In the old emacs version(s), it used to be that erase-buffer intentionally
> discarded undo information if I recall correctly. 

I just checked, and no version of GNU Emacs since 1991 has done that
(I didn't check older versions).

>                                                   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.

So disable undo in that buffer.

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

[Prev in Thread] Current Thread [Next in Thread]