From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Concern about new binding. Date: Thu, 04 Feb 2021 13:08:05 +0200 Message-ID: References: <20210202134950.vybbpf3iewbymfjo.ref@Ergus> <20210202134950.vybbpf3iewbymfjo@Ergus> <87h7mt3qjo.fsf@melete.silentflame.com> <87im78usd9.fsf@gnus.org> <878s84url8.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3078"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: K-9 Mail for Android Cc: Richard Stallman To: emacs-devel@gnu.org, Gregory Heytings , Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Feb 04 12:11:35 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l7cXv-0000hy-8A for ged-emacs-devel@m.gmane-mx.org; Thu, 04 Feb 2021 12:11:35 +0100 Original-Received: from localhost ([::1]:48318 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7cXu-0004N5-BA for ged-emacs-devel@m.gmane-mx.org; Thu, 04 Feb 2021 06:11:34 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40650) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7cUs-0001As-40 for emacs-devel@gnu.org; Thu, 04 Feb 2021 06:08:26 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35005) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7cUq-0005w1-ID; Thu, 04 Feb 2021 06:08:25 -0500 Original-Received: from [2a02:14f:1:847e::1] (port=42978) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1l7cUa-0006sa-Nm; Thu, 04 Feb 2021 06:08:09 -0500 In-Reply-To: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:263866 Archived-At: On February 4, 2021 11:49:15 AM GMT+02:00, Gregory Heytings wrote: >=20 > On a side note, I don't understand the "At garbage collection time" in > the=20 > doc string of "undo-outer-limit": >=20 > Outer limit on size of undo information for one command=2E > At garbage collection time, if the current command has produced more > than=20 > this much undo information, it discards the info and displays a > warning=2E=20 > This is a last-ditch limit to prevent memory overflow=2E >=20 > It seems to me that this happens when the command is executed, not "at >=20 > garbage collection time"=2E That discarding of the undo info happens in a function that compacts buffe= rs and truncates their undo lists=2E That function is called from GC=2E I= f 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 ru= ns=2E