GNU bug report logs -
#13523
24.2.92; [regression] mark-active
Previous Next
Reported by: Leo Liu <sdl.web <at> gmail.com>
Date: Tue, 22 Jan 2013 08:21:02 UTC
Severity: important
Tags: confirmed, help
Found in versions 24.2, 24.1, 24.2.92
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
So IIUC the issue can be summarized as:
down-mouse-1 runs mouse-drag-region
mouse-1 runs mouse-set-point
mouse-drag-region calls mouse-drag-track.
Since 2010-07-03 (I think), this unconditionally pushes mark.
It then uses track-mouse to watch for further mouse events.
If at the end, point has not moved and the last event was
mouse-set-point or mouse-set-region, it deactivates and pops the mark.
Otherwise it assumes it is handling a multi-click event (since
2010-07-05), and does not deactivate mark.
The result is that if you bind mouse-1 to something other than
mouse-set-point, and leave down-mouse-1 alone, then after a mouse-1 click
the mark stays active (unless you specifically deactivate it).
Examples can be seen with image-dired and rst-toc-mode, which both bind
mouse-1 but not down-mouse-1. In both cases, mouse-1 clicks leave the
mouse active. It doesn't seem to matter in either case, but probably is
not intended.
Is the intention that people bind down-mouse-1 as well/instead of
mouse-1, or that things bound to mouse-1 deactivate mark, or can the
multi-click detection be changed somehow to avoid this?
This bug report was last modified 12 years and 108 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.