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: Robert Weiner
Subject: Re: mouse-drag-and-drop-region
Date: Fri, 8 Dec 2017 11:14:48 -0500

On Fri, Dec 8, 2017 at 5:12 AM, martin rudalics <address@hidden> wrote:
> When the user just clicks within the region (no drag), window-dropped
> remains nil.  On such condition, window-start should not be set.
>
> Let's say there are two window top and bottom (T and B) in a frame.
> Scroll T to the end.  Make region in B.  Then click the region.  I
> will see T to be scrolled to the beginning.

Aha...  Then let's rename window-dropped to something like window-exempt
and set window-exempt to the window either clicked at or where the drop
occurs.  Would that be OK?

​Better names might be droppped-window or destination-window.
If this is nil, then no drag-and-drop occurred; otherwise,
it is the window of the drop, so why call it window-exempt?

Bob

reply via email to

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