emacs-devel
[Top][All Lists]
Advanced

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

Re: how to test whether region is active during a mouse event?


From: David De La Harpe Golden
Subject: Re: how to test whether region is active during a mouse event?
Date: Sun, 02 Aug 2009 23:13:44 +0100
User-agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090701)

Drew Adams wrote:


Also good to know, I guess. What was the bug (in practical, use-case terms) that
this is intended to fix?

select-active-regions was winding up setting incorrect selections in some mouse interactions like the ones you were doing. It "snapshots" the last active region's contents when the mark deactivates so that it can persist as-is after the mark is deactivated. Without the reordering, it was getting the wrong string sometimes but not always (in a pattern that of course retrospectively makes sense, but at the time, man...)














reply via email to

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