all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#74276: 30.0.90; undo does not account for overlays now that markers are not used
@ 2024-11-09  6:41 James Thomas via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-11-09  8:12 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: James Thomas via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-11-09  6:41 UTC (permalink / raw)
  To: 74276; +Cc: karthikchikmagalur

- 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)

--





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-11-14 15:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-09  6:41 bug#74276: 30.0.90; undo does not account for overlays now that markers are not used James Thomas via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-11-09  8:12 ` Eli Zaretskii
2024-11-09 15:05   ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-11-09 15:50     ` Eli Zaretskii
2024-11-14 15:36       ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.