From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: Selected text -> system clipboard on NS? Date: Mon, 06 Dec 2010 18:17:48 +0100 Message-ID: <4CFD1ABC.40300@swipnet.se> References: <7C97831E-160D-4FC3-A437-B54B8982FFD9@gmail.com> 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: dough.gmane.org 1291656116 5588 80.91.229.12 (6 Dec 2010 17:21:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 6 Dec 2010 17:21:56 +0000 (UTC) Cc: Emacs Development To: Adrian Robert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 06 18:21:51 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 1PPel5-0006jC-2p for ged-emacs-devel@m.gmane.org; Mon, 06 Dec 2010 18:21:51 +0100 Original-Received: from localhost ([127.0.0.1]:52696 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PPel4-0003mS-BB for ged-emacs-devel@m.gmane.org; Mon, 06 Dec 2010 12:21:50 -0500 Original-Received: from [140.186.70.92] (port=32883 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PPehH-0001zW-9q for emacs-devel@gnu.org; Mon, 06 Dec 2010 12:17:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PPehG-0001q9-6U for emacs-devel@gnu.org; Mon, 06 Dec 2010 12:17:55 -0500 Original-Received: from smtprelay-b12.telenor.se ([62.127.194.21]:59366) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PPehG-0001pn-0e for emacs-devel@gnu.org; Mon, 06 Dec 2010 12:17:54 -0500 Original-Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-b12.telenor.se (Postfix) with ESMTP id 2EA37EA901 for ; Mon, 6 Dec 2010 18:17:50 +0100 (CET) X-SENDER-IP: [85.225.45.100] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AoYzANOp/ExV4S1kPGdsb2JhbACIH5scDAEBAQE1Lb11hUkEjgE X-IronPort-AV: E=Sophos;i="4.59,306,1288566000"; d="scan'208";a="157076459" Original-Received: from c-642de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.100]) by ipb1.telenor.se with ESMTP; 06 Dec 2010 18:17:49 +0100 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 3171B7FA05A; Mon, 6 Dec 2010 18:17:49 +0100 (CET) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.13) Gecko/20101129 Thunderbird/3.1.7 In-Reply-To: <7C97831E-160D-4FC3-A437-B54B8982FFD9@gmail.com> X-detected-operating-system: by eggs.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:133457 Archived-At: Adrian Robert skrev 2010-12-06 14.09: > Hi, > > I know there were some selection changes a while back on the trunk and > one effect on the NS port is that selecting text no longer affects the > system clipboard selection. You have to actually copy (M-w, Cmd-c) it now. > I was wondering if there was any setting to get the old behavior back? > > From a customize-apropos it looked like Select Active Regions or Pc > Selection Mode might have something to do with it, but I couldn't get > them to work. Nor do I really want to activate transient-mark-mode > which they seem to require. > > Just wondering if this is something by design, a bug in the NS port, or > I'm just missing the correct way to do it? The PRIMARY selection maps to NXPrimary (aka @"Selection") now, as that makes sense on GNUStep. Maybe we should map PRIMARY to the general pasteboard (aka clipboard) when not on GNUStep or hijack x-select-enable-clipboard? AFAIK, there is no way to get selected text to the clipboard without a copy (M-w and such). Jan D.