From: Aaron Meurer <asmeurer@gmail.com>
To: michaelsbradleyjr@gmail.com
Cc: help-gnu-emacs@gnu.org
Subject: Re: emacsclient and Mac OS's clipboard
Date: Fri, 27 Apr 2012 15:38:52 -0600 [thread overview]
Message-ID: <CAKgW=6+ZdAUw4x1dGSerX5xWRVxBtPoALBvxvpkqvHS6DBE+bA@mail.gmail.com> (raw)
In-Reply-To: <CAKgW=6JehbJwXnsP1RjqrdKAmbLrGb+OdTQb88Ug2V0ANSX3hQ@mail.gmail.com>
And by the way, for what it's worth, Emacs's kill ring and the Mac OS
X clipboard are not synchronized by default (at least for the terminal
version of emacs). That is an option that has to be enabled
somewhere. So that's probably the issue here.
Aaron Meurer
On Fri, Apr 27, 2012 at 3:37 PM, Aaron Meurer <asmeurer@gmail.com> wrote:
> On Wed, Apr 25, 2012 at 1:38 PM, <michaelsbradleyjr@gmail.com> wrote:
>> I'm running the latest pretest from the "Emacs For Mac OS X" website (Emacs-pretest-24.0.95-universal-10.6.8.dmg) on Mac OS version 10.7.
>>
>> If I launch Emacs in a standalone fashion (i.e. double-click on Emacs.app), the editor's kill ring and the OS's clipboard "communicate" with each other such that I can copy/paste back and forth between Emacs and other applications.
>>
>> However, if I launch Emacs in --daemon mode and then fire up `emacsclient -c`, I find that the client's kill ring does not "communicate" with the OS's clipboard, and it's seemingly impossible to copy/paste between Emacs and other applications. A workaround is to use some intermediate text file, which I have open in say Emacs and TextEdit, but obviously that's not a great solution.
>
> This doesn't really solve the problem, but it is possible to avoid
> using intermediate files by using the pbpaste and pbcopy command line
> tools and Emacs's build-in command line functions. For example, if
> you type M-| pbcopy, it will move the selected text in emacs to the
> Mac OS X clipboard. C-u 1 M-! pbpaste will paste.
>
> Aaron Meurer
>
>>
>> I'm hunting for a fix to this problem (if one exists) but am coming up short with google searches, et al.
>>
>> Thanks for your help.
next prev parent reply other threads:[~2012-04-27 21:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-25 19:38 emacsclient and Mac OS's clipboard michaelsbradleyjr
2012-04-27 21:37 ` Aaron Meurer
2012-04-27 21:38 ` Aaron Meurer [this message]
2012-04-28 2:59 ` rusi
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='CAKgW=6+ZdAUw4x1dGSerX5xWRVxBtPoALBvxvpkqvHS6DBE+bA@mail.gmail.com' \
--to=asmeurer@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=michaelsbradleyjr@gmail.com \
/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.