unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#9623: mouse wheel scroll increases size of selected region
@ 2011-09-28  6:42 Glenn Morris
  2011-09-28 13:35 ` David De La Harpe Golden
  0 siblings, 1 reply; 4+ messages in thread
From: Glenn Morris @ 2011-09-28  6:42 UTC (permalink / raw)
  To: 9623

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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#9623: mouse wheel scroll increases size of selected region
  2011-09-28  6:42 bug#9623: mouse wheel scroll increases size of selected region Glenn Morris
@ 2011-09-28 13:35 ` David De La Harpe Golden
  2011-09-28 21:21   ` Glenn Morris
  0 siblings, 1 reply; 4+ messages in thread
From: David De La Harpe Golden @ 2011-09-28 13:35 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 9623

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@harpegolden.net>
To: Emacs developers <emacs-devel@gnu.org>
Subject: select-active-regions mouse wheel scroll bug fix

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#9623: mouse wheel scroll increases size of selected region
  2011-09-28 13:35 ` David De La Harpe Golden
@ 2011-09-28 21:21   ` Glenn Morris
  2012-03-24 11:06     ` Chong Yidong
  0 siblings, 1 reply; 4+ messages in thread
From: Glenn Morris @ 2011-09-28 21:21 UTC (permalink / raw)
  To: David De La Harpe Golden; +Cc: 9623

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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#9623: mouse wheel scroll increases size of selected region
  2011-09-28 21:21   ` Glenn Morris
@ 2012-03-24 11:06     ` Chong Yidong
  0 siblings, 0 replies; 4+ messages in thread
From: Chong Yidong @ 2012-03-24 11:06 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 9623

Glenn Morris <rgm@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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-03-24 11:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-28  6:42 bug#9623: mouse wheel scroll increases size of selected region Glenn Morris
2011-09-28 13:35 ` David De La Harpe Golden
2011-09-28 21:21   ` Glenn Morris
2012-03-24 11:06     ` Chong Yidong

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).