* bug#39424: auto-scrolling
@ 2020-02-04 16:05 Konrad Podczeck
2020-02-04 18:27 ` Eli Zaretskii
2020-02-04 20:40 ` Mattias Engdegård
0 siblings, 2 replies; 4+ messages in thread
From: Konrad Podczeck @ 2020-02-04 16:05 UTC (permalink / raw)
To: 39424
I observe the following discrepancy between (a) mouse-drag-region and (b) mouse-drag-region-rectangle.
Concerning (a), as soon as one comes with the mouse below the mode-line of the frame, so that auto-scrolling becomes effective, the cursor jumps to the beginning of the line below the region and that line appears as non-selected during further scrolling.
As for (b), as usual with other text editors, if one comes with the mouse below the mode-line of the frame, the cursor stays at the beginning or end of the region, and there is no line which appears non-selected.
I could neither find any explanation for this discrepancy in the manuals, nor a customization option which, for (a), gives the same behavior as in case of (b).
Konrad
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#39424: auto-scrolling
2020-02-04 16:05 bug#39424: auto-scrolling Konrad Podczeck
@ 2020-02-04 18:27 ` Eli Zaretskii
2020-02-04 20:40 ` Mattias Engdegård
1 sibling, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2020-02-04 18:27 UTC (permalink / raw)
To: Konrad Podczeck; +Cc: 39424
> From: Konrad Podczeck <konrad.podczeck@univie.ac.at>
> Date: Tue, 4 Feb 2020 17:05:06 +0100
>
> I observe the following discrepancy between (a) mouse-drag-region and (b) mouse-drag-region-rectangle.
>
> Concerning (a), as soon as one comes with the mouse below the mode-line of the frame, so that auto-scrolling becomes effective, the cursor jumps to the beginning of the line below the region and that line appears as non-selected during further scrolling.
>
> As for (b), as usual with other text editors, if one comes with the mouse below the mode-line of the frame, the cursor stays at the beginning or end of the region, and there is no line which appears non-selected.
>
> I could neither find any explanation for this discrepancy in the manuals, nor a customization option which, for (a), gives the same behavior as in case of (b).
mouse-drag-region selects whole lines, so it moves the cursor beyond
the end of the last line in the region, to cause the scrolling.
I see no problem in either behavior, and don't really understand why
there should be any consistency between these two. They do different
things.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#39424: auto-scrolling
2020-02-04 16:05 bug#39424: auto-scrolling Konrad Podczeck
2020-02-04 18:27 ` Eli Zaretskii
@ 2020-02-04 20:40 ` Mattias Engdegård
2020-02-04 21:24 ` Konrad Podczeck
1 sibling, 1 reply; 4+ messages in thread
From: Mattias Engdegård @ 2020-02-04 20:40 UTC (permalink / raw)
To: Eli Zaretskii, Konrad Podczeck; +Cc: 39424
> mouse-drag-region selects whole lines, so it moves the cursor beyond
> the end of the last line in the region, to cause the scrolling.
mouse-drag-region selects characters, words or lines depending on how many clicks were used to initiate the drag.
If I understand Konrad's request correctly, he suggests that the last line be partially selected during autoscrolling, to match the horizontal position of the mouse cursor, at least during single-click-selection -- is that right?
For mouse-drag-region-rectangle this is a clear necessity, but only a minor cosmetic detail for linear selection. That's why nobody bothered to do anything about it until rectangle-selection was added.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#39424: auto-scrolling
2020-02-04 20:40 ` Mattias Engdegård
@ 2020-02-04 21:24 ` Konrad Podczeck
0 siblings, 0 replies; 4+ messages in thread
From: Konrad Podczeck @ 2020-02-04 21:24 UTC (permalink / raw)
To: Mattias Engdegård; +Cc: 39424
> Am 04.02.2020 um 21:40 schrieb Mattias Engdegård <mattiase@acm.org>:
>
>> mouse-drag-region selects whole lines, so it moves the cursor beyond
>> the end of the last line in the region, to cause the scrolling.
>
> mouse-drag-region selects characters, words or lines depending on how many clicks were used to initiate the drag.
>
> If I understand Konrad's request correctly, he suggests that the last line be partially selected during autoscrolling, to match the horizontal position of the mouse cursor, at least during single-click-selection -- is that right?
Yes, that’s what I mean.
Thanks,
Konrad
> For mouse-drag-region-rectangle this is a clear necessity, but only a minor cosmetic detail for linear selection. That's why nobody bothered to do anything about it until rectangle-selection was added.
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-02-04 21:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-04 16:05 bug#39424: auto-scrolling Konrad Podczeck
2020-02-04 18:27 ` Eli Zaretskii
2020-02-04 20:40 ` Mattias Engdegård
2020-02-04 21:24 ` Konrad Podczeck
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.