[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mouse-drag-and-drop-region
From: |
Tak Kunihiro |
Subject: |
Re: mouse-drag-and-drop-region |
Date: |
Fri, 08 Dec 2017 06:45:40 +0900 (JST) |
>> I found a glitch. I think
>>
>> (unless (eq window window-dropped)...
>>
>> should be something like
>>
>> (when (and window-dropped
>> (not (eq window window-dropped)))...
>
> Wouldn't this mean that when window-dropped is nil and the user has
> changed the point of some other window, that other's window point is
> not reverted to its original position? I think the
>
> (unless (eq window window-dropped)
>
> DTRT: WINDOW cannot be nil here and if it equals WINDOW-DROPPED then
> we should not revert its point. Or am I missing something?
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.
- Re: mouse-drag-and-drop-region, Tak Kunihiro, 2017/12/01
- Re: mouse-drag-and-drop-region, martin rudalics, 2017/12/02
- Re: mouse-drag-and-drop-region, martin rudalics, 2017/12/03
- Re: mouse-drag-and-drop-region, martin rudalics, 2017/12/03
- Re: mouse-drag-and-drop-region, Tak Kunihiro, 2017/12/04
- Re: mouse-drag-and-drop-region, martin rudalics, 2017/12/05
- Re: mouse-drag-and-drop-region, Tak Kunihiro, 2017/12/06
- Re: mouse-drag-and-drop-region, martin rudalics, 2017/12/07
- Re: mouse-drag-and-drop-region,
Tak Kunihiro <=
- Re: mouse-drag-and-drop-region, martin rudalics, 2017/12/08
- Re: mouse-drag-and-drop-region, Robert Weiner, 2017/12/08
- Re: mouse-drag-and-drop-region, martin rudalics, 2017/12/09
- Re: mouse-drag-and-drop-region, Tak Kunihiro, 2017/12/14
- Re: mouse-drag-and-drop-region, martin rudalics, 2017/12/15
- Re: mouse-drag-and-drop-region, martin rudalics, 2017/12/15
- Re: mouse-drag-and-drop-region, Tak Kunihiro, 2017/12/15
- Re: mouse-drag-and-drop-region, martin rudalics, 2017/12/16
- Re: mouse-drag-and-drop-region, Tak Kunihiro, 2017/12/16
- Re: mouse-drag-and-drop-region, martin rudalics, 2017/12/17