From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#11389: 24.0.96; Emacs not using the MS Windows clipboard Date: Wed, 02 May 2012 05:48:59 +0300 Message-ID: <83sjfjs3fo.fsf@gnu.org> References: <83txzzso97.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1335927265 8575 80.91.229.3 (2 May 2012 02:54:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 2 May 2012 02:54:25 +0000 (UTC) Cc: 11389-done@debbugs.gnu.org To: "Gallagher, Kevin" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 02 04:54:24 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SPPhw-0006a1-JZ for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 May 2012 04:54:24 +0200 Original-Received: from localhost ([::1]:45798 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SPPhv-0006xl-R4 for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 May 2012 22:54:23 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35265) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SPPhr-0006xF-QV for bug-gnu-emacs@gnu.org; Tue, 01 May 2012 22:54:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SPPhp-00022S-Uo for bug-gnu-emacs@gnu.org; Tue, 01 May 2012 22:54:19 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60230) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SPPdF-0000ZV-Cp for bug-gnu-emacs@gnu.org; Tue, 01 May 2012 22:49:33 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SPPeg-0007ne-K4 for bug-gnu-emacs@gnu.org; Tue, 01 May 2012 22:51:02 -0400 Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 May 2012 02:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 11389 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 11389@debbugs.gnu.org, eliz@gnu.org Original-Received: via spool by 11389-done@debbugs.gnu.org id=D11389.133592702329933 (code D ref 11389); Wed, 02 May 2012 02:51:02 +0000 Original-Received: (at 11389-done) by debbugs.gnu.org; 2 May 2012 02:50:23 +0000 Original-Received: from localhost ([127.0.0.1]:33031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SPPe3-0007mj-F4 for submit@debbugs.gnu.org; Tue, 01 May 2012 22:50:23 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:37129) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SPPdz-0007mS-5S for 11389-done@debbugs.gnu.org; Tue, 01 May 2012 22:50:21 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0M3D00F00JPZOR00@a-mtaout22.012.net.il> for 11389-done@debbugs.gnu.org; Wed, 02 May 2012 05:48:42 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.228.21.115]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M3D00FORJT5GQ60@a-mtaout22.012.net.il>; Wed, 02 May 2012 05:48:42 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:59696 Archived-At: > From: "Gallagher, Kevin" > CC: "11389@debbugs.gnu.org" <11389@debbugs.gnu.org> > 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.