codingteam / pacmacs.el

Pacman for Emacs
Other
91 stars 9 forks source link

Warning (undo): Buffer `*Pacmacs*' undo info was 12240417 bytes long. #143

Closed rexim closed 8 years ago

rexim commented 8 years ago

Left the game for awhile a saw a warning poped up:

Warning (undo): Buffer `*Pacmacs*' undo info was 12240417 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',
which is defined in the `warnings' library.

Warning (undo): Buffer `*Pacmacs*' undo info was 12845102 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',
which is defined in the `warnings' library.
rexim commented 8 years ago

http://www.gnu.org/software/emacs/manual/html_node/elisp/Maintaining-Undo.html

Minoru commented 8 years ago

So if I die, I can just undo it and try again? Emacs gives your game nice features for free ;)

rexim commented 8 years ago

@Minoru yep! But it takes too much memory, so we disabled it. :)