From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Adrian Robert Newsgroups: gmane.emacs.devel Subject: Re: Selected text -> system clipboard on NS? Date: Wed, 8 Dec 2010 07:47:06 +0200 Message-ID: <10B37E5E-690B-4DE9-B0D1-53A55F761304@gmail.com> References: <7C97831E-160D-4FC3-A437-B54B8982FFD9@gmail.com> <4CFD1ABC.40300@swipnet.se> <437603EB-8D18-475E-B586-60C106B6E6AB@gmail.com> <87lj418q78.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1291787246 1383 80.91.229.12 (8 Dec 2010 05:47:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Dec 2010 05:47:26 +0000 (UTC) Cc: =?iso-8859-1?Q?Jan_Dj=E4rv?= , Emacs Development To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 08 06:47:21 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 1PQCs3-0005Bv-8G for ged-emacs-devel@m.gmane.org; Wed, 08 Dec 2010 06:47:19 +0100 Original-Received: from localhost ([127.0.0.1]:36020 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQCs2-0006VD-Qh for ged-emacs-devel@m.gmane.org; Wed, 08 Dec 2010 00:47:18 -0500 Original-Received: from [140.186.70.92] (port=32900 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQCrx-0006V1-D3 for emacs-devel@gnu.org; Wed, 08 Dec 2010 00:47:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PQCrw-00082p-5u for emacs-devel@gnu.org; Wed, 08 Dec 2010 00:47:13 -0500 Original-Received: from mail-ew0-f43.google.com ([209.85.215.43]:37322) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PQCrw-00082J-1K for emacs-devel@gnu.org; Wed, 08 Dec 2010 00:47:12 -0500 Original-Received: by ewy22 with SMTP id 22so592030ewy.30 for ; Tue, 07 Dec 2010 21:47:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=0/XOw6z0c22GWDbp1hrJIzNJxK0oyayB8XtarfG8ZB8=; b=rxhJvNHH4xoz+BRFW36qsuJrOQTKp3eR6moL7V3jFxGYr2GK+/dnxMaXQBHW28M9ys povlVoQOSX9C7a5HY0WYyJ9MG/wOMbMvLjvPVotmxnn1yNy8l4+d3/Vqys4XHKV8q8YH u6q1X3E5a4a9uCqZuqPk2ix10XMti38uVPviU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=smyjaMklaTceL1Qdcfc5HmYoz29EIXuBOSypWzcuvShpS71IrHWRmODVwhFV50nf/e oyUIa/y3U+2u6db0tQZ8CW5ndQ3ZJDOLLgG6q91EmkmnuExN0Ex22v1J+1nDAjv3rYzg c7WTSPzNAZxQ7khyhaYp6599jyVUqPDHAi5So= Original-Received: by 10.213.33.201 with SMTP id i9mr9015758ebd.10.1291787230661; Tue, 07 Dec 2010 21:47:10 -0800 (PST) Original-Received: from [10.0.1.2] (dsl-hkibrasgw2-fe25de00-221.dhcp.inet.fi [80.222.37.221]) by mx.google.com with ESMTPS id t5sm145658eeh.14.2010.12.07.21.47.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 07 Dec 2010 21:47:08 -0800 (PST) In-Reply-To: <87lj418q78.fsf@stupidchicken.com> X-Mailer: Apple Mail (2.1082) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:133528 Archived-At: Chong Yidong kirjoitti 2010/12/07 kello 19:09: > Adrian Robert writes: >=20 >> I'm not sure how x-select-enable-clipboard' is interpreted under X. >> =46rom 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. >=20 > 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. If I'm understanding the doc string correctly, there would be nothing to = do under NS since clipboard is always used when explicitly = cutting/copying text on NS (like Windows). Probably the doc could be = improved to clarify that NS and Windows are similar here (though NS = *does* have a primary as I mentioned before). >> we (or at least I ;-) would want the option to send selected (but not >> yet cut/copied) text to clipboard (and also primary). >=20 > Maybe you want to customize mouse-drag-copy-region. Thanks! -Adrian