all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jonathan Groll <lists@groll.co.za>
To: help-gnu-emacs@gnu.org
Subject: Re: kill ring and system clipboard
Date: Tue, 30 Mar 2010 09:23:15 +0200	[thread overview]
Message-ID: <20100330072315.GF5377@groll.co.za> (raw)
In-Reply-To: <0CCB4B9C-D03D-4E28-93A8-897AC1911DC7@3tier.com>

On Mon, Mar 29, 2010 at 03:09:16PM -0700, Mark Stoelinga wrote:
>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.
>

It sounds to me like the problem is basically that emacs is not
running on your local workstation, but on another machine. While what
you want may be possible, why not just run Emacs on your local machine
and open the files you need to open using tramp?

Cheers,
Jonathan




  reply	other threads:[~2010-03-30  7:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-29 22:09 kill ring and system clipboard Mark Stoelinga
2010-03-30  7:23 ` Jonathan Groll [this message]
2010-03-30  9:13   ` Peter Dyballa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100330072315.GF5377@groll.co.za \
    --to=lists@groll.co.za \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.