unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#7699: 24.0.50; Emacs still doesn't paste what you select with mouse
@ 2010-12-21 17:36 Drew Adams
  2010-12-21 19:14 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Drew Adams @ 2010-12-21 17:36 UTC (permalink / raw)
  To: 7699

emacs -Q
 
Select some text outside an Emacs session - e.g. from another Emacs
session or from a Web browser or other app.  Copy it to the clipboard
(C-c on Windows).
 
In Emacs, select some text with the mouse (e.g. drag mouse-1).  Click
mouse-2 to paste the text you selected.  Instead what was copied to the
clipboard gets pasted.
 

In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
 of 2010-12-20 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4) --no-opt --cflags
-Ic:/imagesupport/include'
 






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

* bug#7699: 24.0.50; Emacs still doesn't paste what you select with mouse
  2010-12-21 17:36 bug#7699: 24.0.50; Emacs still doesn't paste what you select with mouse Drew Adams
@ 2010-12-21 19:14 ` Eli Zaretskii
  2010-12-21 19:33   ` Drew Adams
  2010-12-25 10:59   ` Eli Zaretskii
  0 siblings, 2 replies; 4+ messages in thread
From: Eli Zaretskii @ 2010-12-21 19:14 UTC (permalink / raw)
  To: Drew Adams; +Cc: 7699

> From: "Drew Adams" <drew.adams@oracle.com>
> Date: Tue, 21 Dec 2010 09:36:21 -0800
> Cc: 
> 
> emacs -Q
>  
> Select some text outside an Emacs session - e.g. from another Emacs
> session or from a Web browser or other app.  Copy it to the clipboard
> (C-c on Windows).
>  
> In Emacs, select some text with the mouse (e.g. drag mouse-1).  Click
> mouse-2 to paste the text you selected.  Instead what was copied to the
> clipboard gets pasted.

It will work as you want if you customize mouse-drag-copy-region to a
non-nil value, I think.

I will try to fix the default case as well in a few days (let me know
if you want meanwhile to try a fix -- it's in mouse.el), but no
promises, since this is all very tricky due to conflicting
requirements and the fact that Windows doesn't have primary selection.
See, for example, bug#6689.





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

* bug#7699: 24.0.50; Emacs still doesn't paste what you select with mouse
  2010-12-21 19:14 ` Eli Zaretskii
@ 2010-12-21 19:33   ` Drew Adams
  2010-12-25 10:59   ` Eli Zaretskii
  1 sibling, 0 replies; 4+ messages in thread
From: Drew Adams @ 2010-12-21 19:33 UTC (permalink / raw)
  To: 'Eli Zaretskii'; +Cc: 7699

> > select some text with the mouse (e.g. drag 
> > mouse-1).  Click mouse-2 to paste the text you selected.
> > Instead what was copied to the clipboard gets pasted.
> 
> It will work as you want if you customize mouse-drag-copy-region to a
> non-nil value, I think.

Yes, and that's what I use for myself.

This report is about the default setting of nil, i.e., for others.

> I will try to fix the default case as well in a few days (let me know
> if you want meanwhile to try a fix -- it's in mouse.el), but no
> promises, since this is all very tricky due to conflicting
> requirements and the fact that Windows doesn't have primary selection.
> See, for example, bug#6689.

Great, thanks.  And good luck.






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

* bug#7699: 24.0.50; Emacs still doesn't paste what you select with mouse
  2010-12-21 19:14 ` Eli Zaretskii
  2010-12-21 19:33   ` Drew Adams
@ 2010-12-25 10:59   ` Eli Zaretskii
  1 sibling, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2010-12-25 10:59 UTC (permalink / raw)
  To: drew.adams, 7699-done

> Date: Tue, 21 Dec 2010 21:14:09 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: 7699@debbugs.gnu.org
> 
> I will try to fix the default case as well in a few days (let me know
> if you want meanwhile to try a fix -- it's in mouse.el), but no
> promises, since this is all very tricky due to conflicting
> requirements and the fact that Windows doesn't have primary selection.
> See, for example, bug#6689.

Fixed (revno 102707 on the trunk).





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

end of thread, other threads:[~2010-12-25 10:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-21 17:36 bug#7699: 24.0.50; Emacs still doesn't paste what you select with mouse Drew Adams
2010-12-21 19:14 ` Eli Zaretskii
2010-12-21 19:33   ` Drew Adams
2010-12-25 10:59   ` Eli Zaretskii

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).