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: Solved (was: undo-auto--undoable-change infloop) Date: Thu, 28 Jul 2022 08:49:58 +0300 Message-ID: <83tu71aird.fsf@gnu.org> References: <87o7xc1qbh.fsf@web.de> <831qu8dqrx.fsf@gnu.org> <87bktbciup.fsf@web.de> <877d3zcfw9.fsf@web.de> <83mtcuby3w.fsf@gnu.org> <87y1weeyqa.fsf@web.de> <87tu72extv.fsf_-_@web.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6242"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Michael Heerdegen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jul 28 07:55:20 2022 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 1oGwUQ-0001RJ-58 for ged-emacs-devel@m.gmane-mx.org; Thu, 28 Jul 2022 07:55:18 +0200 Original-Received: from localhost ([::1]:45068 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oGwUO-0002jU-OK for ged-emacs-devel@m.gmane-mx.org; Thu, 28 Jul 2022 01:55:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48692) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGwP9-0007lt-H1 for emacs-devel@gnu.org; Thu, 28 Jul 2022 01:49:58 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44566) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGwP7-0008Vg-Tt; Thu, 28 Jul 2022 01:49:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=5rtvBNU3uNnJKfFIQSHvPEKswjt14qB0fuLl/VccTWs=; b=S3vcoEMD7pf5 AbpnoMhE0XyEv1CUHyKL+xrC3iHvNOY/La7ZMpN/n6/2kPa8VhQFUfyKPacwxuK/X6L9Nlp1kwRgZ HjiQrFxMCqHLlqas1+r3ZDTYo+5zL8jS6k/Zk5lZl51p0n4Hk/9UhaA+RWiPXpUJDADvvTR/K5G14 uhqyqzcTFbSkTjfd8e60CrXPgT1wqoZ40zJbRIw+D2S7T991+e3+qumZ51BbbwulWCM8DFz1nUkj4 doT7QX/DHsCUbUSXTcEvuj9Lnzs44G3e8kSftjKvPEK+BGnyWVsiF/Ka/Elg+Rzkmqhs16c9tKjXT 0v/NdHVGUXnWvLG0qmd+Fw==; Original-Received: from [87.69.77.57] (port=2602 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGwP7-0002xe-D2; Thu, 28 Jul 2022 01:49:49 -0400 In-Reply-To: <87tu72extv.fsf_-_@web.de> (message from Michael Heerdegen on Thu, 28 Jul 2022 05:10:52 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:292762 Archived-At: > From: Michael Heerdegen > Cc: emacs-devel@gnu.org > Date: Thu, 28 Jul 2022 05:10:52 +0200 > > Michael Heerdegen writes: > > I was using worker buffers. These were filled, modified and erased > thousands of times in my test scenario. Doing (setq buffer-undo-list t) > in these buffer solved the problem. Any reason why you didn't use temporary buffers for that? AFAIR, undo is disabled there automatically. > Not sure what Emacs was actually doing all the time, but the huge gc > time probably was spent in collecting the fallout from the huge undo > records. Yes, makes sense. > Thanks for mentioning also the obvious things, Glad I could be of help.