emacs-devel
[Top][All Lists]
Advanced

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

Re: Concern about new binding.


From: Gregory Heytings
Subject: Re: Concern about new binding.
Date: Thu, 04 Feb 2021 08:49:58 +0000


You can easily undo it, however, with a quick C-/.

I think that is limited to files under a certain size.


Yes, that limit is 'undo-outer-limit', set to 22 MB by default.

Unfortunately, when you execute 'revert-buffer' on such a large buffer, you get a warning _after_ the reversion has happened that you cannot undo it anymore: "Warning (undo): Buffer '...' undo info was ... bytes long. The undo info was discarded because it exceeded `undo-outer-limit'."

It would perhaps make sense to ask for confirmation _before_ executing the command ("The command '...' will discard undo info, really do it? (yes or no)").



reply via email to

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