GNU bug report logs - #24755
25.1; Selection continues with no mouse button pressed

Previous Next

Package: emacs;

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>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 24755 <at> debbugs.gnu.org, matspal <at> gmail.com
Subject: bug#24755: 25.1; Selection continues with no mouse button pressed
Date: Wed, 26 Oct 2016 16:13:37 -0400
> 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.

That's because C-mouse-1 and C-drag-mouse-1 aren't bound to anything.
It's different, indeed, but the previous behavior was somewhat
accidental, I think (e.g. I'm pretty sure it didn't work that way in all
cases either, since the old code would sometimes push back the events to
be looked up in the global-map, tho not always).

We could try to reproduce it, but I think the necessary code would be
somewhat ugly/hackish.


        Stefan




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.