GNU bug report logs - #9623
mouse wheel scroll increases size of selected region

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Wed, 28 Sep 2011 06:44:02 UTC

Severity: normal

Found in version 24.0.90

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 9623 in the body.
You can then email your comments to 9623 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#9623; Package emacs. (Wed, 28 Sep 2011 06:44:03 GMT) Full text and rfc822 format available.

Message #3 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: submit <at> debbugs.gnu.org
Subject: mouse wheel scroll increases size of selected region
Date: Wed, 28 Sep 2011 02:42:02 -0400
Package: emacs
Version: 24.0.90

In Emacs source directory:

./src/emacs -Q --eval '(transient-mark-mode -1)' ./README

With mouse, left-click on "S" in "See the end of the file for license
conditions.". Continue to hold button down, and drag to select the whole
of that sentence. Release mouse button. Do not make any more left clicks.
Using mouse wheel, scroll to end of buffer.
Left click to place point on last line.
Middle click to paste selected text. The text that gets pasted is larger
than what was selected. For me, the pasted text is

----
See the end of the file for license conditions.


This directory tree holds version 24.0.90 of GNU Emacs, the extensible,
-----

This seems to correspond to the region that scrolled off the screen the
first time I scrolled with the mouse wheel.

This does not happen in Emacs 23.3, which correctly pastes just the text
that was selected.

It also does not happen in 24.0.90 if I follow the advice from NEWS to
restore the old behaviour, namely:

(setq select-active-regions nil mouse-drag-copy-region t
      x-select-enable-primary t x-select-enable-clipboard nil)

So maybe it is intended? But it seems odd, so I am reporting it.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9623; Package emacs. (Wed, 28 Sep 2011 13:37:02 GMT) Full text and rfc822 format available.

Message #6 received at 9623 <at> debbugs.gnu.org (full text, mbox):

From: David De La Harpe Golden <david <at> harpegolden.net>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 9623 <at> debbugs.gnu.org
Subject: Re: bug#9623: mouse wheel scroll increases size of selected region
Date: Wed, 28 Sep 2011 14:35:15 +0100
On 28/09/11 07:42, Glenn Morris wrote:

> This does not happen in Emacs 23.3, which correctly pastes just the text
> that was selected.
>
> So maybe it is intended? But it seems odd, so I am reporting it.
>

I do not think it's intended.  I actually thought this issue _was_ fixed 
in-tree some time after my first patch for it [1], however I don't use a 
scroll wheel normally (gfx tablet), so I wouldn't necessarily have 
noticed if there was a regression (or maybe even if it was never fixed 
in-tree at all)


[1]

Date: Sun, 15 Nov 2009 14:23:08 +0000
From: David De La Harpe Golden <david <at> harpegolden.net>
To: Emacs developers <emacs-devel <at> gnu.org>
Subject: select-active-regions mouse wheel scroll bug fix

http://lists.gnu.org/archive/html/emacs-devel/2009-11/msg00459.html




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9623; Package emacs. (Wed, 28 Sep 2011 21:23:01 GMT) Full text and rfc822 format available.

Message #9 received at 9623 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: David De La Harpe Golden <david <at> harpegolden.net>
Cc: 9623 <at> debbugs.gnu.org
Subject: Re: bug#9623: mouse wheel scroll increases size of selected region
Date: Wed, 28 Sep 2011 17:21:34 -0400
David De La Harpe Golden wrote:

> http://lists.gnu.org/archive/html/emacs-devel/2009-11/msg00459.html

I don't know anything about this, other than that I forwarded it as
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5014 and that it was never
applied. It depends on a previous "cleanup" patch which does not apply
to the current trunk.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9623; Package emacs. (Sat, 24 Mar 2012 11:38:02 GMT) Full text and rfc822 format available.

Message #12 received at 9623 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> gnu.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 9623 <at> debbugs.gnu.org, David De La Harpe Golden <david <at> harpegolden.net>
Subject: Re: bug#9623: mouse wheel scroll increases size of selected region
Date: Sat, 24 Mar 2012 19:06:13 +0800
Glenn Morris <rgm <at> gnu.org> writes:

> David De La Harpe Golden wrote:
>
>> http://lists.gnu.org/archive/html/emacs-devel/2009-11/msg00459.html
>
> I don't know anything about this, other than that I forwarded it as
> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5014 and that it was never
> applied. It depends on a previous "cleanup" patch which does not apply
> to the current trunk.

I've committed a slightly different fix.




bug closed, send any further explanations to 9623 <at> debbugs.gnu.org and Glenn Morris <rgm <at> gnu.org> Request was from Chong Yidong <cyd <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 24 Mar 2012 11:38:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 22 Apr 2012 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 15 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.