undo-propose-el icon indicating copy to clipboard operation
undo-propose-el copied to clipboard

Handle markers properly

Open jackkamm opened this issue 4 years ago • 3 comments

PR https://github.com/jackkamm/undo-propose-el/pull/21 by @takaxp fixes a problem with org-clock-marker, but this problem is a symptom of a deeper problem, that we don't currently handle markers in the undo-propose buffers.

References

Additional Notes

There are entries in the undo-list which adjust marker positions. When in the undo-propose buffer, (eq (marker-buffer m) (current-buffer)) is false so these entries are skipped.

One possible way to handle markers would be to copy the markers over to the undo-propose buffer, and edit entries in the undo-list to use the new markers.

jackkamm avatar Sep 06 '19 16:09 jackkamm