emacs-devel
[Top][All Lists]
Advanced

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

Re: Concern about new binding.


From: Eli Zaretskii
Subject: Re: Concern about new binding.
Date: Thu, 04 Feb 2021 13:08:05 +0200
User-agent: K-9 Mail for Android

On February 4, 2021 11:49:15 AM GMT+02:00, Gregory Heytings 
<gregory@heytings.org> wrote:
> 
> On a side note, I don't understand the "At garbage collection time" in
> the 
> doc string of "undo-outer-limit":
> 
> Outer limit on size of undo information for one command.
> At garbage collection time, if the current command has produced more
> than 
> this much undo information, it discards the info and displays a
> warning. 
> This is a last-ditch limit to prevent memory overflow.
> 
> It seems to me that this happens when the command is executed, not "at
> 
> garbage collection time".

That discarding of the undo info happens in a function that compacts buffers 
and truncates their undo lists.  That function is called from GC.  If you see 
the message when the command is executed, it simply means that GC is called 
immediately after the command or even while the command still runs.



reply via email to

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