[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#74276: 30.0.90; undo does not account for overlays now that markers
From: |
James Thomas |
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 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
- 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)
--
- bug#74276: 30.0.90; undo does not account for overlays now that markers are not used,
James Thomas <=