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: select-active-regions Date: Mon, 20 Jul 2009 06:12:48 +0300 Message-ID: <834ot8oxn3.fsf@gnu.org> References: <83zlb2p79y.fsf@gnu.org> <4A61D0F6.5040901@harpegolden.net> <83skgup04t.fsf@gnu.org> <87ws6613c7.fsf@cyd.mit.edu> <83ocrhq1sk.fsf@gnu.org> <4A6218EE.8@harpegolden.net> <83iqhppzg5.fsf@gnu.org> <4A63309E.7050903@gnu.org> <83eiscpo6x.fsf@gnu.org> <4A6375B5.1090406@harpegolden.net> <8363dopgqc.fsf@gnu.org> <4A63B8BC.2030007@harpegolden.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1248059591 17550 80.91.229.12 (20 Jul 2009 03:13:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Jul 2009 03:13:11 +0000 (UTC) Cc: cyd@stupidchicken.com, emacs-devel@gnu.org, jasonr@gnu.org To: David De La Harpe Golden Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 20 05:13:03 2009 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.50) id 1MSjJF-0006vG-Jf for ged-emacs-devel@m.gmane.org; Mon, 20 Jul 2009 05:13:01 +0200 Original-Received: from localhost ([127.0.0.1]:33378 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MSjJE-0007rN-Vi for ged-emacs-devel@m.gmane.org; Sun, 19 Jul 2009 23:13:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MSjJ7-0007nC-L2 for emacs-devel@gnu.org; Sun, 19 Jul 2009 23:12:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MSjJ6-0007ka-Ap for emacs-devel@gnu.org; Sun, 19 Jul 2009 23:12:52 -0400 Original-Received: from [199.232.76.173] (port=36189 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MSjJ6-0007kP-7Y for emacs-devel@gnu.org; Sun, 19 Jul 2009 23:12:52 -0400 Original-Received: from mtaout4.012.net.il ([84.95.2.10]:8738 helo=mtaout3.012.net.il) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MSjJ4-0005b5-2J; Sun, 19 Jul 2009 23:12:50 -0400 Original-Received: from conversion-daemon.i_mtaout3.012.net.il by i_mtaout3.012.net.il (HyperSendmail v2004.12) id <0KN2006008JKMW00@i_mtaout3.012.net.il>; Mon, 20 Jul 2009 06:12:48 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.126.246.110]) by i_mtaout3.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KN2009WZ8XC5E92@i_mtaout3.012.net.il>; Mon, 20 Jul 2009 06:12:48 +0300 (IDT) In-reply-to: <4A63B8BC.2030007@harpegolden.net> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 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:112802 Archived-At: > Date: Mon, 20 Jul 2009 01:22:20 +0100 > From: David De La Harpe Golden > CC: jasonr@gnu.org, cyd@stupidchicken.com, emacs-devel@gnu.org > > Eli Zaretskii wrote: > > > > When killing, emacs on X11 places text in > > > primary if x-select-enable-primary is t > > > clipboard if x-select-enable-clipboard is t > > > > > > When yanking, emacs on x11 gets text from > > > primary if x-select-enable-primary is t > > > clipboard if x-select-enable-clipboard is t > > > Since Windows only has the clipboard, putting and getting text from > > there is the best it can do to emulate X in this regard. > > > > For emulating an X11 clipboard, sure, that makes sense. Not for > emulating an X11 primary. They are different things. But Emacs has no other way but emulate both with the clipboard on Windows, because that's the only interprogram buffer there is. > > As I explained elsewhere in this thread, Emacs on DOS and Windows > > thrashes the clipboard all the time anyway. So anyone using Emacs on > > Windows ought to be accustomed to that already. I know I am. > > ? Surely it only updates the system clipboard if you: > * explicitly kill > * {mouse-select text with mouse-drag-copy-region non-nil} Aha, and did you pay attention how many times you kill something while editing? > A basic point of select-active-regions is to allow, when selecting text > with either the mouse or keyboard: > * don't affect kill-ring_and_clipboard > * affect primary That's fine, but you cannot do that on Windows and let other programs get at the selected text unless you use the clipboard. But we are going in circles. The same arguments get said time and again, ad nauseam. I think we should agree to disagree on this one, and let it be. > w32 presently uses x-select-enable-clipboard to control clipboard use > AFAICS with much the same meaning as on x11. Not really: x-select-enable-clipboard is t by default on Windows, because it won't make much sense otherwise.