Subject: bug#37700: closed (Re: bug#37700: 27.0.50; undo mouse-drag-and-drop-region ineffective)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 31 Oct 2019 16:49:03 +0000

Your bug report

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

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
37700: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=37700
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#37700: 27.0.50; undo mouse-drag-and-drop-region ineffective
From: Mattias Engdegård <[email-masked]>
To: [email-masked]
Cc: Tak Kunihiro <[email-masked]>, [email-masked], Eli Zaretskii <[email-masked]>, Stefan Monnier <[email-masked]>
Date: Thu, 31 Oct 2019 17:47:51 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

31 okt. 2019 kl. 17.10 skrev Eli Zaretskii <[email-masked]>:
> 
> Please add here a cross-reference to the other place, where this
> property is described.

Done.

>> +** 'undo' can be made to ignore the active region for a command
>> +by setting its 'undo-inhibit-region' symbol property to non-nil.
> 
> Instead of "its" I'd use "that command's", because "its" is a bit
> ambiguous in this context.

Done.

Pushed with those patches (and moved the property description so that the list follows alphabetical order).

Subject: 27.0.50; undo mouse-drag-and-drop-region ineffective
From: Mattias Engdegård <[email-masked]>
To: [email-masked]
Date: Fri, 11 Oct 2019 13:51:38 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Undoing mouse-drag-and-drop-region doesn't work:

1. (setq mouse-drag-and-drop-region t)
2. mark a region
3. use the mouse to drag the region elsewhere
4. Undo (twice)

Result: the dragged text disappears from its destination, but does not reappear where it was dragged from.
Instead, we get the "No further undo information for region" error.

The action can be undone by moving point and backing up a different undo branch a few steps, but that is hardly ideal.