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: undo-auto--undoable-change infloop Date: Wed, 27 Jul 2022 14:20:51 +0300 Message-ID: <83mtcuby3w.fsf@gnu.org> References: <87o7xc1qbh.fsf@web.de> <831qu8dqrx.fsf@gnu.org> <87bktbciup.fsf@web.de> <877d3zcfw9.fsf@web.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12196"; 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 Wed Jul 27 13:22:59 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 1oGf7z-000346-DT for ged-emacs-devel@m.gmane-mx.org; Wed, 27 Jul 2022 13:22:59 +0200 Original-Received: from localhost ([::1]:53874 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oGf7y-00034f-Db for ged-emacs-devel@m.gmane-mx.org; Wed, 27 Jul 2022 07:22:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38504) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGf5p-0000WW-Km for emacs-devel@gnu.org; Wed, 27 Jul 2022 07:20:45 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:57372) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGf5o-0005lS-A2; Wed, 27 Jul 2022 07:20:44 -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=lDtkQFXdLzzEo0s7mzZ388c/kz+Z67rPjrqDpoht1gg=; b=dRDgGn+53feX RX589gxXU0CC2kzs16a+AufKb2tWxhxezoVJxROhkpBWPWJznr7KNUfJazpkhyumQqH7TIewnn9Hw bYiNPcaC2Oy376U0ddr1dMK3hoghfS5wtxaZtp+c9stJYtmQ5UR0iLb7vGcrfqYjPjKRVCAk4NifK /1sLT7Rto6NFZMW5L08JLOcmSNAGmuLyM/tD7rRDnixsluXyqlRltuRUfZZ0XbwchYikhtG78SFR2 iMB4I8lL8NJT2Gl73DwtEK5l6fIuy8YN7zR+wdoOr0Qy6BSilT9tpT0u2lQVP85YPGbm0hV0hnNfg QHt1xHW16QhV3VAcRXhkbQ==; Original-Received: from [87.69.77.57] (port=2247 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 1oGf5n-0002rR-O5; Wed, 27 Jul 2022 07:20:44 -0400 In-Reply-To: <877d3zcfw9.fsf@web.de> (message from Michael Heerdegen on Wed, 27 Jul 2022 06:56:38 +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:292739 Archived-At: > From: Michael Heerdegen > Cc: emacs-devel@gnu.org > Date: Wed, 27 Jul 2022 06:56:38 +0200 > > Michael Heerdegen writes: > > > 24220 41% - timer-event-handler > > 21654 37% - timer-activate > > 19231 33% - timer--activate > > 17774 30% timer--time-less-p > > 19949 34% - ... > > 19949 34% Automatic GC > > 14040 24% + command-execute ;; actual command execution time > > [...] [...] > > Though, since redefining `undo-auto--undoable-change' has the effect of > solving the issue, I guess it must be related to undo. At the risk of saying the obvious: you do know that undo runs a timer to amalgamate undoable changes?