From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Selected text -> system clipboard on NS? Date: Tue, 07 Dec 2010 12:09:47 -0500 Message-ID: <87lj418q78.fsf@stupidchicken.com> References: <7C97831E-160D-4FC3-A437-B54B8982FFD9@gmail.com> <4CFD1ABC.40300@swipnet.se> <437603EB-8D18-475E-B586-60C106B6E6AB@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1291741832 27493 80.91.229.12 (7 Dec 2010 17:10:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 7 Dec 2010 17:10:32 +0000 (UTC) Cc: Jan =?utf-8?Q?Dj=C3=A4rv?= , Emacs Development To: Adrian Robert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 07 18:10:28 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 1PQ13P-0007Ny-KM for ged-emacs-devel@m.gmane.org; Tue, 07 Dec 2010 18:10:28 +0100 Original-Received: from localhost ([127.0.0.1]:46846 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQ13O-0001Mg-UG for ged-emacs-devel@m.gmane.org; Tue, 07 Dec 2010 12:10:14 -0500 Original-Received: from [140.186.70.92] (port=35244 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQ133-0001GE-Lq for emacs-devel@gnu.org; Tue, 07 Dec 2010 12:09:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PQ132-0002HR-1p for emacs-devel@gnu.org; Tue, 07 Dec 2010 12:09:53 -0500 Original-Received: from vm-emlprdomr-05.its.yale.edu ([130.132.50.146]:56319) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PQ131-0002EH-Vx for emacs-devel@gnu.org; Tue, 07 Dec 2010 12:09:52 -0500 Original-Received: from furball (dhcp128036014034.central.yale.edu [128.36.14.34]) (authenticated bits=0) by vm-emlprdomr-05.its.yale.edu (8.14.4/8.14.4) with ESMTP id oB7H9mmt029525 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 7 Dec 2010 12:09:48 -0500 Original-Received: by furball (Postfix, from userid 1000) id 52A0A160AEB; Tue, 7 Dec 2010 12:09:48 -0500 (EST) In-Reply-To: <437603EB-8D18-475E-B586-60C106B6E6AB@gmail.com> (Adrian Robert's message of "Tue, 7 Dec 2010 14:36:13 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Scanned-By: MIMEDefang 2.71 on 130.132.50.146 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:133505 Archived-At: Adrian Robert writes: > I'm not sure how x-select-enable-clipboard' is interpreted under X. > From the docstring, it seems that if it is set, you still need to > explicitly "cut" the text for it to show up on the clipboard, rather > than merely selecting it. The docstring for x-select-enable-clipboard says that it currently has no effect on NS. It would be good to bring the NS port in line with the others; i.e. the NS branch of the code in x-select-text should obey x-select-enable-clipboard. > we (or at least I ;-) would want the option to send selected (but not > yet cut/copied) text to clipboard (and also primary). Maybe you want to customize mouse-drag-copy-region.