GNU bug report logs - #37700
27.0.50; undo mouse-drag-and-drop-region ineffective

Previous Next

Package: emacs;

Reported by: Mattias Engdegård <mattiase <at> acm.org>

Date: Fri, 11 Oct 2019 11:52:02 UTC

Severity: normal

Found in version 27.0.50

Done: Mattias Engdegård <mattiase <at> acm.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Mattias Engdegård <mattiase <at> acm.org>
Subject: bug#37700: closed (Re: bug#37700: 27.0.50; undo mouse-drag-and-drop-region
 ineffective)
Date: Thu, 31 Oct 2019 16:49:03 +0000
[Message part 1 (text/plain, inline)]
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 37700 <at> debbugs.gnu.org.

-- 
37700: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=37700
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Mattias Engdegård <mattiase <at> acm.org>
To: 37700-done <at> debbugs.gnu.org
Cc: Tak Kunihiro <homeros.misasa <at> gmail.com>, tkk <at> misasa.okayama-u.ac.jp,
 Eli Zaretskii <eliz <at> gnu.org>, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: Re: bug#37700: 27.0.50; undo mouse-drag-and-drop-region ineffective
Date: Thu, 31 Oct 2019 17:47:51 +0100
31 okt. 2019 kl. 17.10 skrev Eli Zaretskii <eliz <at> gnu.org>:
> 
> 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).


[Message part 3 (message/rfc822, inline)]
From: Mattias Engdegård <mattiase <at> acm.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.0.50; undo mouse-drag-and-drop-region ineffective
Date: Fri, 11 Oct 2019 13:51:38 +0200
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.




This bug report was last modified 5 years and 267 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.