emacs-devel
[Top][All Lists]
Advanced

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

Re: mouse-drag-and-drop-region


From: Stefan Monnier
Subject: Re: mouse-drag-and-drop-region
Date: Thu, 23 Nov 2017 09:00:46 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>> I very clearly vote in favor of set-transient-map, since the use
>> read-event leads inevitably to lots of corner case problems that are in
>> general impossible to fix.
> Actually, this boils down to marking `track-mouse' obsolete in a not so
> distant future.

You mean the special-form, right?  Because the variable is still very
much needed.  Yes, for me we can mark it obsolete.

> Additionally, `mouse-drag-track' should be renamed once
> more - to something like `mouse-drag-within-window' - the distinguishing
> factor being that all events are interpreted relative to the window of
> the starting event.  And we should provide a `mouse-drag-anywhere'
> function which, among others, does not auto scroll the window of the
> starting event.  Hence `mouse-drag-and-drop-region' could use the latter.

Actually, maybe mouse-drag-and-drop-region could also make use of
a generalized version of mouse-drag-track.


        Stefan



reply via email to

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