From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: James Thomas via "Bug reports for GNU Emacs, the Swiss army knife of text editors" 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 12:11:50 +0530 Message-ID: <86jzdcsyc1.fsf@gmx.net> Reply-To: James Thomas Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2664"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: karthikchikmagalur@gmail.com To: 74276@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 09 07:45:17 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 1t9fDh-0000YR-1M for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 09 Nov 2024 07:45:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9fBw-000189-0o; Sat, 09 Nov 2024 01:43:28 -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 1t9fBW-0007xM-Rv for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2024 01:43:03 -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 1t9fBW-0002iP-Gz for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2024 01:43:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=UYMhjdpeKqX2/i1q++T7I7er8rDskFjE3XckLR8Cqd0=; b=C/yHRqLhKynVEsfkxZ8Bg4ScFw00NQ7J3xI480j8wPOKKQsmxpGD1GEeLBAy8OUXDqvvqWrxJ6unDocGxsKhiM+SwXH89KIuHU4ou+Hx9jgAV6LtuHFRfGvHpQ+JKQaVOg/BFf3RGhk06AVyEDJWW7FRvbMaGs+T9OEnHB41mB41/FZXI7JgvScfpYevk/v5sKzSrfH4NQui8sjIPAMr9v4O02TIG0w8uhrfp4H0xqEoVRm/AS/Oy7CEj2Rf12WC1w1zqF3zmFUWt6Flw2KGtd2hr0OqFCzDwQB5N3F1fueufhgD3neL78zoDfWRhvjjd+9iqtDvYE+XecPtpfaNCA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t9fBW-0003J2-7H; Sat, 09 Nov 2024 01:43:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: James Thomas Original-Sender: "Debbugs-submit" Resent-CC: karthikchikmagalur@gmail.com, bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Nov 2024 06:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74276 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: karthikchikmagalur@gmail.com Original-Received: via spool by submit@debbugs.gnu.org id=B.173113454512655 (code B ref -1); Sat, 09 Nov 2024 06:43:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Nov 2024 06:42:25 +0000 Original-Received: from localhost ([127.0.0.1]:53158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9fAv-0003I3-Fo for submit@debbugs.gnu.org; Sat, 09 Nov 2024 01:42:25 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:48168) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9fAt-0003Hn-Dx for submit@debbugs.gnu.org; Sat, 09 Nov 2024 01:42:24 -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 1t9fAV-0006aU-Fw for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2024 01:42:02 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t9fAT-0002en-7D for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2024 01:41:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1731134515; x=1731739315; i=jimjoe@gmx.net; bh=UYMhjdpeKqX2/i1q++T7I7er8rDskFjE3XckLR8Cqd0=; h=X-UI-Sender-Class:From:To:Subject:Date:Message-ID:MIME-Version: Content-Type:cc:content-transfer-encoding:content-type:date:from: message-id:mime-version:reply-to:subject:to; b=sjGin2EKkXqZLS05ScVOmXjFTiDOMo10zKuCFjw9/93HYgx26wtYYugdl3s/s1ZX +clo3NVuOFhD4F9F+5ijBupZOgD+UBlSXnWJ043OrycX4Lv3NgQF5zp/shYA39sOp vwdPPF8Kd+t8TY8r5MpCX/pdXoLRkxegU6litf1JPrwlhxey/eLP1CmqVUYE68KAn eTf6TMY/dXpnt6xIYw4bwy+8OYeTNmd8pGm4raAW8uhMuT+7D7HxxgG3+cw0+O3T1 5RAC1xTtIBv7qKjcOpiZGNuY1eRoABOWgrGCS5El22bNCtU+mZlzgzi/ybsyfTXSg WJApzrwKJlnGUgy4qA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from user-Inspiron-3493 ([42.108.12.69]) by mail.gmx.net (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MJmKX-1tOrjn35x3-00HgHA for ; Sat, 09 Nov 2024 07:41:55 +0100 X-Provags-ID: V03:K1:xrNczKuRIro1zV7EBjGUlKY6vfr5YpGu9QWqukNgHTr/ZxHIzBu 4/t86JA0MSS0LRBEG9e8w4yf3r4QIixvUY3OrooErDzy91bTKpAYchyySuPy6tP48d2pWv3 jSj7GLCFAYc4iYEI66efKb2wMHY0s8kgmUlBxwMxcTH7MH6dDS5Kjs5vKPaeXpatNH8QYYc 5AIrhkZiBBgm47of5PSkw== UI-OutboundReport: notjunk:1;M01:P0:43Do7FE+bec=;EAOLtLzL0A/RHxF9zJeKUyb7nCn wn0PG+PBlB39w/RO0xxx2yfyXR/hw7V3SQaq0gRoiZpk/zYOITnJrFmi51pJ6q1um3qVxZodm GGj5gvYI58gj4aD3uZcuYyu1+w9SeU5yxQcdazaC/fq/KInqkZ0HkB07ZHvPXXio0zaR2H91d vZ2eZYZQuZzuRn/LbPVMOCw5Tw4rTnZVG1hMcN4tyfGNSMSsGl8uUMYIaPJ/w22KEDqQMMZql 45zwSuXfZmub5dCsPqaEMFH4QZzMeJn7kDiMB5ZEzc/x3I7zmrUKr7hiVb132FE14TrAhGTeU 7kDFu2188Mzd/2vd6MsCTHBJSmqDbGdt3w7nGoAy+WeA//8H9S3lkGi4Z8JH/eL4kV/gVmQhr QX32IW13KX4Qq0lYbH1FNECJH6JHiPN8PO/XYiouGFxImWocpL+QJpK9y2Zva+jyIAvIFjSGR qqnmFm8wTZlNadG5k+hx9kxFJ4R7cizOTzL5vZuYGms7DsA3BMv1uNT8gH+vrys8YvJvwMUSu DEuhAohKfQcCQ5FbWQtAcn0zvV9Z7JwaaP8VZjSKNMunKJ+CUj37Q1YWhGqlxXhncNB5y30Q9 SukR0aCXugE99baOKbfUqUz7tZ9d8jG3d27fPPSSIpGl3/daUNYecM3kZQw+QqzSwJiNv4L5M 1NnfjcCjhrGC+C2Be/Of/XdjV74uBGJhQYpedQgoc3stSfPWPybVCTOZ0l0JMwvl9nxdIWgZi 0avItGXgZm76a6vkQdZn6jLRKXaNuabw1xeIzi62m58nUxGqISv6fpuzqRxV240l1N9YNi01 Received-SPF: pass client-ip=212.227.17.21; envelope-from=jimjoe@gmx.net; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:295092 Archived-At: - emacs -Q - Type: abcdef - C-a - M-: (overlay-put (make-overlay (point) (+ (point) 3)) 'face 'highlight) - Mark the text 'bcd' and delete it - M-x undo (does not restore overlay correctly) (The solution seems to me to be for undo to also store the overlay, adjustment, and whether left, right or both boundaries are involved, and use it) --