[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9541: mouse-1 inside scroll-margin causes undesirable region activat
From: |
Chong Yidong |
Subject: |
bug#9541: mouse-1 inside scroll-margin causes undesirable region activation |
Date: |
Sat, 24 Sep 2011 14:38:20 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Johan Bockgård <bojohan@gnu.org> writes:
> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>
>> This said, the current behavior of scroll-margin is clearly problematic
>> and even buggy (e.g. it seems that displaying the EOB prevents the
>> mouse-clicks from causing a scroll, even when that scroll would be
>> towards the BOB).
>
> The real bug is that mouse-clicks set the mark (always). (Search for
> push-mark in mouse-drag-track.)
No, that's intended behavior. The OP's suggestion of disabling the
scroll margin while tracking a mouse drag is on the right track. I've
committed a change along those lines.