From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: mouse-yank-primary and bug #7699 Date: Tue, 21 Dec 2010 20:18:37 -0800 Message-ID: <544D91959D2A4709BBE91F5E828A8A60@us.oracle.com> References: <837hf2gc0p.fsf@gnu.org> <4D114EF0.8090706@harpegolden.net> <48891CC6AE2144F1A04493C4B849EDDC@us.oracle.com> <4D116D9C.9000506@harpegolden.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1292991612 2470 80.91.229.12 (22 Dec 2010 04:20:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 22 Dec 2010 04:20:12 +0000 (UTC) Cc: emacs-devel@gnu.org To: "'David De La Harpe Golden'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 22 05:20:07 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 1PVGBL-0001MZ-0q for ged-emacs-devel@m.gmane.org; Wed, 22 Dec 2010 05:20:07 +0100 Original-Received: from localhost ([127.0.0.1]:58374 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PVGBK-000437-FU for ged-emacs-devel@m.gmane.org; Tue, 21 Dec 2010 23:20:06 -0500 Original-Received: from [140.186.70.92] (port=41142 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PVGB4-00041f-SA for emacs-devel@gnu.org; Tue, 21 Dec 2010 23:19:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PVGB3-00060n-Kl for emacs-devel@gnu.org; Tue, 21 Dec 2010 23:19:50 -0500 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]:23228) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PVGB3-00060a-Fp for emacs-devel@gnu.org; Tue, 21 Dec 2010 23:19:49 -0500 Original-Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oBM4JkIM029763 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 22 Dec 2010 04:19:48 GMT Original-Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oBM3pBwf008397; Wed, 22 Dec 2010 04:19:46 GMT Original-Received: from abhmt010.oracle.com by acsmt355.oracle.com with ESMTP id 895818551292991514; Tue, 21 Dec 2010 20:18:34 -0800 Original-Received: from dradamslap1 (/10.159.239.39) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 21 Dec 2010 20:18:33 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <4D116D9C.9000506@harpegolden.net> Thread-Index: AcuhhqsxJ6/Vxm9MRcGW0t88/IS3VgABpqJA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 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:133888 Archived-At: > > What rebinding of mouse-2 are you referring to? > > Rebind back to mouse-yank-at-click. > (global-set-key [mouse-2] 'mouse-yank-at-click) > > in addition to customizations > mouse-drag-copy-region => t > select-active-regions => nil > > > Eli has let it be known that setting `mouse-drag-copy-region' to t > > should suffice > > IIRC there was a later and w32-specific change (very much against my > advice at the time) involving mixing up primary and clipboard > which he _may_ have thought obviated the need to revert the binding. > > But, well, please do try the rebind and the customizations above > together if you haven't tried them before. I appreciate the information and will save it. But as Eli is the one working on these things for Windows, I will take my cue from him. AFAIK, this is still a work in progress, and so far, setting `mouse-drag-copy-region' to t has DTRT. Wrt setting `select-active-regions': That variable (new in Emacs 23) has very poor documentation (see bug #7702), but from what I can tell from the doc it should have _no effect at all_ on Emacs for Windows, because the latter does not have a primary selection. If that is not correct, then this too needs to be fixed in the doc, which describes only its effect wrt the primary selection. (And the doc string, as opposed to the Emacs manual treatment, is incomprehensible, speaking of "the window selection", a concept defined nowhere.)