bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#11389: 24.0.96; Emacs not using the MS Windows clipboard


From: Eli Zaretskii
Subject: bug#11389: 24.0.96; Emacs not using the MS Windows clipboard
Date: Wed, 02 May 2012 05:48:59 +0300

> From: "Gallagher, Kevin" <address@hidden>
> CC: "address@hidden" <address@hidden>
> Date: Tue, 1 May 2012 14:59:26 -0500
> 
> (1) I start up Emacs with -Q using runemacs.exe from a command line window. I 
> then start up MS Word 2007, SP3. I type in "This is a test." into a blank 
> word document, highlight the text with the mouse, and copy it with a Ctrl-C.  
> I move the mouse pointer to the Emacs window, click the left mouse button to 
> get focus, and then press the middle mouse button. This time, and ONLY this 
> time, the copied text appears in the Emacs buffer.  All subsequent attempts 
> to copy text in either direction between Emacs and Word fail.
> 
> (2) I restart Emacs and Word as in 1, above. This time I type "This is text 
> in Emacs." into the Emacs Scratch buffer and highlight with the mouse.  I 
> then move the mouse pointer to the Word window, click the left mouse button 
> to get focus, and type Ctrl-V.  The text I highlighted in Emacs is NOT pasted 
> into the Word document. Instead, the most recent copied text from a non-Emacs 
> program appears. At this point, any attempt to copy from the Word document to 
> an Emacs buffer fails.

This is a feature (new with Emacs 24).  In the first scenario, if you
use C-y instead of mouse-2, you will have the text pasted every time.
In the second scenario, if you use M-w after highlighting text, the
text will be put into the clipboard.  IOW, the clipboard interface is
used with C-w/M-w/C-y and only sometimes with the mouse.

The details (including how to get the old behavior by customizing
several variables) are in NEWS; search for "Selection changes".

I'm closing this non-bug.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]