From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark Stoelinga Newsgroups: gmane.emacs.help Subject: kill ring and system clipboard Date: Mon, 29 Mar 2010 15:09:16 -0700 Message-ID: <0CCB4B9C-D03D-4E28-93A8-897AC1911DC7@3tier.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1269902593 25157 80.91.229.12 (29 Mar 2010 22:43:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 29 Mar 2010 22:43:13 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 30 00:43:09 2010 Return-path: Envelope-to: geh-help-gnu-emacs@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 1NwNfn-0007xm-Dm for geh-help-gnu-emacs@m.gmane.org; Tue, 30 Mar 2010 00:43:07 +0200 Original-Received: from localhost ([127.0.0.1]:47269 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NwNfm-0005E6-UO for geh-help-gnu-emacs@m.gmane.org; Mon, 29 Mar 2010 18:43:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NwN9a-0006vs-Mr for help-gnu-emacs@gnu.org; Mon, 29 Mar 2010 18:09:50 -0400 Original-Received: from [140.186.70.92] (port=60143 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NwN9L-0006oT-KK for help-gnu-emacs@gnu.org; Mon, 29 Mar 2010 18:09:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NwN96-00082m-Ga for help-gnu-emacs@gnu.org; Mon, 29 Mar 2010 18:09:35 -0400 Original-Received: from mail.3tier.com ([216.243.27.17]:37194) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NwN95-00082E-QB for help-gnu-emacs@gnu.org; Mon, 29 Mar 2010 18:09:20 -0400 Original-Received: from mail.3tier.com (mail.3tiergroup.com [127.0.0.1]) by unfiltered-smtpd.local (Postfix) with ESMTP id 6DF6E2006C for ; Mon, 29 Mar 2010 15:09:16 -0700 (PDT) Original-Received: from [10.10.40.116] (unknown [10.10.40.116]) (Authenticated sender: mstoelinga) by mail.3tier.com (Postfix) with ESMTP id 6B33320057 for ; Mon, 29 Mar 2010 15:09:16 -0700 (PDT) X-Mailer: Apple Mail (2.1077) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Mon, 29 Mar 2010 18:42:39 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:72540 Archived-At: Hello, I know there are many posts on this topic on various forums, and lots of = advice, but I've read and tried all of it with no success. Basically, I want my emacs kill-ring contents to be available in my = system clipboard on my mac, but I can't get it to work. My setup: I have a MacBook laptop, running Snow Leopard (OSX 10.6.2). I use a mac = terminal to ssh into a Linux cluster that is running Gnu Linux (not sure = of the version). I'm also running the XQuartz X11 emulator on my = MacBook. When in the terminal, loogged into the Linux cluster, I run = "emacs" (which is Gnus Emacs version 21.3.1). This successfully opens = emacs in an X11 window (via XQuartz) on my mac desktop. This all works = splendidly. And I generally can get anything from any mac application = or other X application INTO my Emacs kill ring through either a mac copy = (Command-v) or a X11 middle-mouse copy. My problem: However, what I have never been able to do is get the emacs kill ring = contents to go into my mac system clipboard. The closest I've managed = to come is issuing the emacs command "META-X set-variable RET = x-select-enable-clipboard RET t". This seems to sync up the kill ring = contents with the system clipboard, BUT now I can no longer put anything = new into the kill ring from within emacs. If I kill a line, the line = gets deleted but whatever was in the kill ring before remains in it. = I've also tried, instead, using the emacs command = "clipboard-kill-ring-save", but this does not have the desired effect of = forcing the kill ring contents into the system clipboard. The mac = system clipboard is uneffected. Any new advice would be very appreciated! Mark