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 in revno 100822 Date: Sun, 15 Aug 2010 11:20:39 -0400 Message-ID: References: <834oeyv3ww.fsf@gnu.org> <87mxsqyp98.fsf@stupidchicken.com> <83zkwptyij.fsf@gnu.org> <4C66660D.3090603@swipnet.se> <83sk2htp82.fsf@gnu.org> <4C66A8C5.4040203@harpegolden.net> <83hbixte8c.fsf@gnu.org> <87wrrs276x.fsf@stupidchicken.com> <8339ugu7vt.fsf@gnu.org> <87lj881xzf.fsf@catnip.gol.com> <871va0rmzp.fsf@uwakimon.sk.tsukuba.ac.jp> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1281885653 22130 80.91.229.12 (15 Aug 2010 15:20:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 15 Aug 2010 15:20:53 +0000 (UTC) Cc: emacs-devel@gnu.org, miles@gnu.org To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 15 17:20:52 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 1Okf11-0004H1-Kg for ged-emacs-devel@m.gmane.org; Sun, 15 Aug 2010 17:20:51 +0200 Original-Received: from localhost ([127.0.0.1]:48372 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Okf10-0001DT-Me for ged-emacs-devel@m.gmane.org; Sun, 15 Aug 2010 11:20:50 -0400 Original-Received: from [199.232.76.173] (port=43929 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Okf0r-0001C6-1y for emacs-devel@gnu.org; Sun, 15 Aug 2010 11:20:41 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Okf0p-0003na-Qc for emacs-devel@gnu.org; Sun, 15 Aug 2010 11:20:40 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:43592) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Okf0p-0003nV-KT for emacs-devel@gnu.org; Sun, 15 Aug 2010 11:20:39 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1Okf0p-00038y-FE; Sun, 15 Aug 2010 11:20:39 -0400 In-reply-to: <871va0rmzp.fsf@uwakimon.sk.tsukuba.ac.jp> (stephen@xemacs.org) X-detected-operating-system: by monty-python.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:128743 Archived-At: > From: "Stephen J. Turnbull" > Date: Sun, 15 Aug 2010 23:04:10 +0900 > Cc: emacs-devel@gnu.org > > Miles Bader writes: > > > If you _see_ a selected region in Emacs (no matter how it was > > selected), it's available as the primary for pasting in other > > apps. > > But that is normally *not true* in Windows, without C-c or C-x (or the > menu equivalents) first. Miles was talking about X, not about Windows; and so was I. We need to decide on behavior on X before we decide how to map that to Windows. > The traditional Windows interface for > pasting the primary is drag and drop, not C-v. C-v will replace the > primary without saving it, with the current content of the clipboard. > > See my reply to Eli for more detail on why this is so. See my message near the beginning of this thread, where I said that on Windows Emacs should not by default set the clipboard upon selection. > If you want X11 and Windows (and Mac, for that matter) to have similar > interfaces here, then you could disable middle-click-to-paste (by > default) on X11, and use "drag to paste" consistently. IMO, that would be bad for users on X, because mouse-2 pasting from PRIMARY is standard there. As of yesterday, mouse-2 on Windows pastes from the clipboard (and falls back on the emulated PRIMARY if the clipboard is empty). I think this is a reasonable compromise, in that it makes Emacs behave quite consistently, at least as far as user expectations go.