From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David De La Harpe Golden Newsgroups: gmane.emacs.devel Subject: Re: mouse-yank-primary and bug #7699 Date: Wed, 22 Dec 2010 15:38:20 +0000 Message-ID: <4D121B6C.4020102@harpegolden.net> References: <837hf2gc0p.fsf@gnu.org> <4D114EF0.8090706@harpegolden.net> <4D12166B.8010002@harpegolden.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1293032329 13581 80.91.229.12 (22 Dec 2010 15:38:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 22 Dec 2010 15:38:49 +0000 (UTC) Cc: =?UTF-8?B?RGrDpHJ2?= , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 22 16:38:44 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PVQlz-000251-K2 for ged-emacs-devel@m.gmane.org; Wed, 22 Dec 2010 16:38:42 +0100 Original-Received: from localhost ([127.0.0.1]:37712 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PVQlx-00057s-Fx for ged-emacs-devel@m.gmane.org; Wed, 22 Dec 2010 10:38:37 -0500 Original-Received: from [140.186.70.92] (port=53350 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PVQlr-00056m-DX for emacs-devel@gnu.org; Wed, 22 Dec 2010 10:38:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PVQll-0008Kj-3Q for emacs-devel@gnu.org; Wed, 22 Dec 2010 10:38:26 -0500 Original-Received: from harpegolden.net ([65.99.215.13]:58258) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PVQlj-0008Ju-Q3; Wed, 22 Dec 2010 10:38:23 -0500 Original-Received: from [87.198.55.89] (87-198-55-89.ptr.magnet.ie [87.198.55.89]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client CN "David De La Harpe Golden", Issuer "David De La Harpe Golden Personal CA rev 3" (verified OK)) by harpegolden.net (Postfix) with ESMTPSA id 63C50683D8; Wed, 22 Dec 2010 15:38:22 +0000 (GMT) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20101211 Icedove/3.0.11 In-Reply-To: <4D12166B.8010002@harpegolden.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:133902 Archived-At: On 22/12/10 15:16, David De La Harpe Golden wrote: > > If you were to remove the call to x-get-selection-value that was > inserted, on w32 you should get the emulated primary on all clicks if it > is available, consistent with the function name "mouse-yank-primary", > and bearing in mind it might or might not currently be being updated > properly elsewhere on w32 (I haven't looked recently). P.S. note that mouse-yank-at-click calls yank which calls current-kill which calls the interprogram-paste-function which is x-get-selection-value on w32. Putting the call to w32 x-get-selection-value into mouse-yank-primary was pretty much where the "making it a zombie version of the old binding" remark was arising from.