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.bugs Subject: bug#74276: 30.0.90; undo does not account for overlays now that markers are not used Date: Sat, 09 Nov 2024 17:50:15 +0200 Message-ID: <865xowmmo8.fsf@gnu.org> References: <86jzdcsyc1.fsf@gmx.net> <86fro0omey.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15170"; mail-complaints-to="usenet@ciao.gmane.io" Cc: karthikchikmagalur@gmail.com, 74276@debbugs.gnu.org, jimjoe@gmx.net To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 09 16:53:22 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 1t9nm5-0003nF-Pe for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 09 Nov 2024 16:53:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9nlq-0002fU-UW; Sat, 09 Nov 2024 10:53:07 -0500 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 1t9nln-0002f1-Rc for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2024 10:53:05 -0500 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 1t9nln-0004Xh-Iq for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2024 10:53:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=GMxe6pEBmDH4kK9Bk4OEZKVNp1VBQSBBU9RgF+rUTxo=; b=av2zgUF0DnNkIzLQPIgdrsyAbiYKFGwINfjl5Whow2RfoeU1NICxrd4ErF3L+ppuuvbxYf9onpswNDchc4/J2AottqqBQ5V+xVeU1FwhsSUAr6OfoRneBBDsseVtug5s93yvZ7VfgYGPhL0gy5eAsyMJA/B2JDMbyxhyy7shmG6QrX318rcqVUscb3JU4rGxuqqyG24GLIXPZOkL1QOMG/CB23tf3RL2npWL5xGYr3gOUFpJNOYg4t3Sn9E8wo8uFM7stmHfDlNeedOOOAJP4AWFoE+twN7VTwI7SJ30iCoOqwvdPFB2oaQXvTJz0yQYbu09QlpzJzu/6gwVyeIVqw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t9nlm-00026Z-DN for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2024 10:53:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Nov 2024 15:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74276 X-GNU-PR-Package: emacs Original-Received: via spool by 74276-submit@debbugs.gnu.org id=B74276.17311675598049 (code B ref 74276); Sat, 09 Nov 2024 15:53:02 +0000 Original-Received: (at 74276) by debbugs.gnu.org; 9 Nov 2024 15:52:39 +0000 Original-Received: from localhost ([127.0.0.1]:54088 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9nlO-00025l-Rz for submit@debbugs.gnu.org; Sat, 09 Nov 2024 10:52:39 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34028) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9nlM-00025W-O5 for 74276@debbugs.gnu.org; Sat, 09 Nov 2024 10:52:37 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t9nj9-0004Im-Sp; Sat, 09 Nov 2024 10:50:19 -0500 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=GMxe6pEBmDH4kK9Bk4OEZKVNp1VBQSBBU9RgF+rUTxo=; b=iPLkPTCVfNdW Rzxgdhd4Uz5sEtCI9+rlGcSJpUoFsjSoUd0YbgpI/BOSHhWlqW9K4c1AuCoEwIDtRWEqmKEB0k6ui Yge9XQb1OAZPXwwWoA8ny//eg+t+YuwBI3/1N4P4bwK+x03gP344YTtUQQ3LG23wjBKR53I6xAmmr 4De07z3Ul35k68ziDynrsHpnHYecJiiLFrRcR9+G/37EfX/LXnJxdDV9TjdLt6cKWj0MDllFvA7Xt UBDWZZGVHnpEK/4j0waDjhUZ4Ek8ffhh1nCAUmr6DRGRf8pjM7+MRyTIdVE5zyQ8uL2x8Cs8nAOY1 n7ExdvRkVaKm83hQVWktfA==; In-Reply-To: (message from Stefan Monnier on Sat, 09 Nov 2024 10:05:51 -0500) 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:295137 Archived-At: > From: Stefan Monnier > Cc: James Thomas , 74276@debbugs.gnu.org, > karthikchikmagalur@gmail.com > Date: Sat, 09 Nov 2024 10:05:51 -0500 > > > Stefan, does undo restore overlays, and if so, how? > > No, I don't think `undo` has ever tried to restore overlays. > But it does attempt to restore marker positions, so I guess there can be > cases where the switch to itree has caused overlays' boundaries to be > restored less well than before. Well, in this particular recipe Emacs 29 and 30 behave exactly like Emacs 25, do at least in this case there was no regression. But maybe we should add to undo the capability of restoring the overlays.