From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Selection changes Date: Fri, 23 Jul 2010 13:32:46 +0300 Message-ID: <83wrsmtrn5.fsf@gnu.org> References: <87ocea2ax1.fsf@stupidchicken.com> <4C40FCEC.9030404@harpegolden.net> <87pqym2a4r.fsf@catnip.gol.com> <4C411552.40003@harpegolden.net> <87eif2n7d7.fsf@stupidchicken.com> <878w5a23ax.fsf@catnip.gol.com> <04B92DEADC9D46F38CB42B91679795DE@us.oracle.com> <87k4onmatk.fsf@stupidchicken.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1279881255 28340 80.91.229.12 (23 Jul 2010 10:34:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 23 Jul 2010 10:34:15 +0000 (UTC) Cc: miles@gnu.org, emacs-devel@gnu.org, drew.adams@oracle.com, david@harpegolden.net To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 23 12:34:13 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 1OcFa0-0000pf-L1 for ged-emacs-devel@m.gmane.org; Fri, 23 Jul 2010 12:34:13 +0200 Original-Received: from localhost ([127.0.0.1]:58137 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OcFZz-00016W-0V for ged-emacs-devel@m.gmane.org; Fri, 23 Jul 2010 06:34:11 -0400 Original-Received: from [140.186.70.92] (port=46808 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OcFZr-00015w-3k for emacs-devel@gnu.org; Fri, 23 Jul 2010 06:34:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OcFZp-0001hr-K8 for emacs-devel@gnu.org; Fri, 23 Jul 2010 06:34:02 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:33220) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcFZp-0001hh-9I; Fri, 23 Jul 2010 06:34:01 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0L6000200AKBIZ00@a-mtaout20.012.net.il>; Fri, 23 Jul 2010 13:32:47 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.127.61.30]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L6000G56AMLK7O0@a-mtaout20.012.net.il>; Fri, 23 Jul 2010 13:32:47 +0300 (IDT) In-reply-to: <87k4onmatk.fsf@stupidchicken.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) 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:127692 Archived-At: > From: Chong Yidong > Date: Thu, 22 Jul 2010 18:05:43 -0400 > Cc: 'David De La Harpe Golden' , emacs-devel@gnu.org, > 'Miles Bader' > > > The latest build I have of Emacs is completely broken wrt yanking with > > mouse-2 - see bugs 6689, 6694, 6701,.... I have not paid attention to > > this thread, but I cannot ignore a blown-away mouse. > > The specific problem you encountered apparently comes from the way the > Windows port emulates a primary selection. This will need some updating > for the current changes. Could you please describe the changes that were made in this respect? The NEWS entry says: ** Selection changes. The way Emacs interacts with the clipboard and primary selection, by default, is now similar to other X applications. In particular, kill and yank use the clipboard, in addition to the primary selection. *** `select-active-regions' now defaults to t. *** `x-select-enable-clipboard' now defaults to t. *** `x-select-enable-primary' now defaults to nil. *** `mouse-drag-copy-region' now defaults to nil. *** `mouse-2' is now bound to `mouse-yank-primary'. Is the list of default values in this entry all that was modified? That is, if the user reverts all of these values to their previous defaults, would she have the previous behavior? Or were other changes made as well? If the latter, could someone please tell where these changes were made, and in what revno's? In general, the behavior on MS-Windows does not need to change, because there's no primary selection on Windows. Emacs on Windows emulates the primary selection, but that emulation was never meant to be a replacement for the "real thing", it was just there to minimize OS-dependent conditions elsewhere in Emacs sources.