bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#37700: 27.0.50; undo mouse-drag-and-drop-region ineffective


From: Mattias Engdegård
Subject: bug#37700: 27.0.50; undo mouse-drag-and-drop-region ineffective
Date: Wed, 16 Oct 2019 17:27:05 +0200

12 okt. 2019 kl. 19.53 skrev Eli Zaretskii <eliz@gnu.org>:
> 
> Or maybe have those commands have an 'undo' property which would tell
> 'undo' to treat them specially.  Like we do with delete-selection.

After trying various approaches, the attached patch looks somewhat promising. 
It adds a new element type to buffer-undo-list, `unconfined', which disables 
selective undo for one record. Consider it a proof-of-concept.

While it has the advantage of not requiring the user to change any settings, I 
still prefer the first approach (an option to disable undo confinement), as 
it's less intrusive and more generally useful. However, this should work as 
well.

Attachment: 0001-Don-t-confine-undo-of-mouse-drag-and-drop-to-the-reg.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]