GNU bug report logs -
#24755
25.1; Selection continues with no mouse button pressed
Previous Next
Reported by: Mats Palmgren <matspal <at> gmail.com>
Date: Fri, 21 Oct 2016 15:36:02 UTC
Severity: normal
Found in version 25.1
Done: Stefan Monnier <monnier <at> iro.umontreal.ca>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Cc: Mats Palmgren <matspal <at> gmail.com>, 24755-done <at> debbugs.gnu.org
> Date: Wed, 26 Oct 2016 15:29:55 -0400
>
> > Stefan, could you please fix this? It seems to be due to changes in
> > how mouse-drag-track handles mouse events: in Emacs 24.5, the code
> > handled mouse clicks as well, whereas now it doesn't seem to. So
> > releasing the mouse button while Ctrl or Shift is pressed signals an
> > error now, instead of finishing the drag event.
>
> > The fix should go to the emacs-25 branch.
>
> I pushed the patch below to emacs-25, which should fix it.
Thanks. It fixes the original bug, but the resulting behavior is not
identical to Emacs 24.5, because once you release mouse-1, the
selected text loses its highlight. In Emacs 24.5, the highlight would
stay.
This bug report was last modified 8 years and 265 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.