all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* A new(?) warning of erase-buffer, which was not seen before.
@ 2007-03-19  2:20 ishikawa
  2007-03-19 12:19 ` Kim F. Storm
  2007-03-19 18:10 ` Richard Stallman
  0 siblings, 2 replies; 19+ messages in thread
From: ishikawa @ 2007-03-19  2:20 UTC (permalink / raw)
  To: emacs-devel; +Cc: ishikawa

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?

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.

emacs-version is a variable defined in `version.el'.
Its value is "22.0.93.1"

--- new warning which I see with 22.0.93.1

Warning (undo): Buffer `*sim*' undo info was 4766843 bytes long.
The undo info was discarded because it exceeded `undo-outer-limit'.

This is normal if you executed a command that made a huge change
to the buffer.  In that case, to prevent similar problems in the
future, set `undo-outer-limit' to a value that is large enough to
cover the maximum size of normal changes you expect a single
command to make, but not so large that it might exceed the
maximum memory allotted to Emacs.

If you did not execute any such command, the situation is
probably due to a bug and you should report it.

You can disable the popping up of this buffer by adding the entry
(undo discard-info) to the user option `warning-suppress-types'.

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2007-03-24  9:09 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-19  2:20 A new(?) warning of erase-buffer, which was not seen before ishikawa
2007-03-19 12:19 ` Kim F. Storm
2007-03-20  3:48   ` ishikawa
2007-03-20  9:42     ` Kim F. Storm
2007-03-22 11:08       ` ishikawa
2007-03-22 22:50         ` Richard Stallman
2007-03-22 23:21           ` Miles Bader
2007-03-23  9:47             ` ishikawa
2007-03-23 14:52               ` Davis Herring
2007-03-23  9:54             ` Johan Bockgård
2007-03-23 11:31               ` Miles Bader
2007-03-23 12:56                 ` Johan Bockgård
2007-03-23 16:54                   ` Stefan Monnier
2007-03-23 17:01                     ` Lennart Borgman (gmail)
2007-03-23 17:35                       ` martin rudalics
2007-03-24  2:41                         ` Miles Bader
2007-03-24  9:09                           ` martin rudalics
2007-03-19 18:10 ` Richard Stallman
2007-03-20  3:52   ` ishikawa

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.