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: select-active-regions Date: Sat, 18 Jul 2009 20:50:23 +0100 Message-ID: <4A62277F.30001@harpegolden.net> 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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1247946678 13193 80.91.229.12 (18 Jul 2009 19:51:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Jul 2009 19:51:18 +0000 (UTC) Cc: cyd@stupidchicken.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 18 21:51:11 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 1MSFw4-00038A-Qk for ged-emacs-devel@m.gmane.org; Sat, 18 Jul 2009 21:51:09 +0200 Original-Received: from localhost ([127.0.0.1]:37755 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MSFw4-0002G1-Bc for ged-emacs-devel@m.gmane.org; Sat, 18 Jul 2009 15:51:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MSFvW-0001uK-4m for emacs-devel@gnu.org; Sat, 18 Jul 2009 15:50:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MSFvR-0001sb-En for emacs-devel@gnu.org; Sat, 18 Jul 2009 15:50:33 -0400 Original-Received: from [199.232.76.173] (port=33827 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MSFvR-0001sU-9K for emacs-devel@gnu.org; Sat, 18 Jul 2009 15:50:29 -0400 Original-Received: from harpegolden.net ([65.99.215.13]:35927) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MSFvP-0005OZ-D6; Sat, 18 Jul 2009 15:50:27 -0400 Original-Received: from [87.198.47.126] (87-198-47-126.ptr.magnet.ie [87.198.47.126]) (using TLSv1 with cipher DHE-RSA-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 ESMTP id 0B1728274; Sat, 18 Jul 2009 20:50:25 +0100 (IST) User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090701) In-Reply-To: <83iqhppzg5.fsf@gnu.org> X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:112706 Archived-At: Eli Zaretskii wrote: > The Windows clipboard is also analogous to the X11 primary selection, > in that copy/paste work on Windows through the clipboard. copy/paste doesn't work on X11 through the primary selection. > In other words, when there's only one interprogram buffer to put > selected text, it is analogous to all the X selection facilities. > > Anyway, I'm unconvinced. The MS-DOS port will copy to the clipboard > under select-active-regions. Shrug. I then strongly recommend the approach taken is to create the x-select-active-regions-enable-primary and x-select-active-regions-enable-clipboard variable I just proposed elsepost, and set ..-enable-clipboard to t on msdos, rather than mysteriously conflating primary and clipboard within x-set-selection/x-get-selection/x-selection-owner-p for no good reason. > For the w32 build, I'd like to hear > other maintainers who work on the w32 build, but my opinion is that it > should do that as well. w32 doesn't change the meaning of passing 'PRIMARY vs. 'CLIPBOARD to x-set-selection/x-get-selection/x-selection-owner-p , it just sets x-select-enable-clipboard to t so that killing and yanking uses the clipboard. Similarly, it could set the proposed x-select-active-regions-enable-clipboard to t by default if you wanted select-active-regions to affect the clipboard by default.