From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#65451: 30.0.50; `after-change-functions' are not triggered in the same order the changes are made Date: Mon, 08 Apr 2024 19:10:36 +0000 Message-ID: <87v84r3c2b.fsf@localhost> References: <871qfv2zlk.fsf@localhost> <83a5ujtgfo.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1390"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Alan Mackenzie , Eli Zaretskii , 65451@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 08 21:11:24 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1rtuOo-00006n-4v for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 08 Apr 2024 21:11:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rtuOS-0008WV-19; Mon, 08 Apr 2024 15:11:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rtuOQ-0008WH-Bw for bug-gnu-emacs@gnu.org; Mon, 08 Apr 2024 15:10:58 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rtuOQ-0000eo-0O for bug-gnu-emacs@gnu.org; Mon, 08 Apr 2024 15:10:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rtuOX-0007bF-3p for bug-gnu-emacs@gnu.org; Mon, 08 Apr 2024 15:11:05 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Apr 2024 19:11:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65451 X-GNU-PR-Package: emacs Original-Received: via spool by 65451-submit@debbugs.gnu.org id=B65451.171260343729058 (code B ref 65451); Mon, 08 Apr 2024 19:11:04 +0000 Original-Received: (at 65451) by debbugs.gnu.org; 8 Apr 2024 19:10:37 +0000 Original-Received: from localhost ([127.0.0.1]:47705 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rtuO3-0007YR-W2 for submit@debbugs.gnu.org; Mon, 08 Apr 2024 15:10:37 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:60325) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rtuNy-0007Wp-D0 for 65451@debbugs.gnu.org; Mon, 08 Apr 2024 15:10:34 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id A4DAB240028 for <65451@debbugs.gnu.org>; Mon, 8 Apr 2024 21:10:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1712603416; bh=gNAnOx75iaVJ5kxyB6LjJDGjhuTXa6tTNqMmUHBrYRc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=pszQYRf8MX3gO/oAr/gw7btNuF8qcBZZFPWVL/4WWa8XZWDFIon6gLIOsTPkkSnJM UsgGDJOjyRtRwfokdV13LK8rePJbp+mDfrhZyIwkFNGzD0KZAxuFw6d/+uuXcgxgTY 131Vf3NVNFkYgp5ouRL8uQoyWX5nbRNM2raw1Oni+Wz123VMQcBYTx1q1XLE29EpZ/ pJ5PDp+A3VryCyQrm/xLylAqLXJn74lAcwIaUqpn2fsEeyhLjVPm+0uKSvi6l2+/EF dLkhCqecrDN7WR6pJPhavsYaTqHgIbkwUUA1cI1ffFckL8GZguMkSws744l2sWcUd6 VXlUa9DknPBLQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VCzF32D56z9rxD; Mon, 8 Apr 2024 21:10:14 +0200 (CEST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:282951 Archived-At: Stefan Monnier writes: >> A simpler option is the patch below. > > Pushed to `master` along with a corresponding test. > The test uses a "sanity check" suite which encodes the promises we make > after before/after-change-functions. I confirm the fix on the latest master. Thanks! -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at