all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Riley <rileyrgdev@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Copy/Paste from console emacs client
Date: Mon, 04 Jan 2010 14:16:27 +0100	[thread overview]
Message-ID: <hhspnd$b7h$1@ger.gmane.org> (raw)
In-Reply-To: hhsntb$5bn$1@ger.gmane.org


OK, to follow up from my own post:

The problem was simply this - I had included xclip.el. However it does
this:

 (add-hook 'terminal-init-xterm-hook 'turn-on-xclip)

This was not triggered in my version of urxvt. I dont know the details
as to why. So, and thanks to dim in #emacs, I went back and call the
the interprogram function set up

(turn-on-xclip)

et voila. Working just fine. I guess I should go and add this to the
hundreds of threads on the subject out there ;) So trivial after all
that.

Hope this helps someone else,

regards,

r.



Richard Riley <rileyrgdev@gmail.com> writes:

> Richard Riley <rileyrgdev@gmail.com> writes:
>
>> OK, <deep breath>, I've been trying to get some half sensible cut/paste
>> going with emacs (x and console) and other apps.
>>
>> The one that has me stumped is uing M-w to copy in console emacs - why
>> can than not be made the primary and clipboard X contents if X is
>> running? The issue is that the interprogram cut function calls
>> x-select-text which determines that the emacs frame is not X and
>> therefore does not set the X buckets.
>>
>> Is there an easy way around this? It seems (to me who is tired and
>> confused) that it would be better to just set the X buckets if X is
>> running, not if the emacs itself is an x frame.
>>
>> (I am running emacsclient -nw in urxvt)
>>
>> regards
>>
>> r.
>>
>
> This thread (not Ubuntu specific) discusses the issues quite well :
>
> http://ubuntuforums.org/showthread.php?t=539888
>
> The first, probably naive, solution that comes to mind is for emacs to
> use xclip or equiv even IF the frame is not an X frame IF it detects X is
> running. I guess that  might mean linking to x libraries or something
> and thus make it impossible? Reading the millions of queries about the
> same thing makes me think I'm being too hopeful and just need to bite
> the bullet and use the horrible mouse selection technique.
>

-- 





  parent reply	other threads:[~2010-01-04 13:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-04  4:43 Copy/Paste from console emacs client Richard Riley
2010-01-04 12:45 ` Richard Riley
2010-01-04 13:03   ` Leo
2010-01-04 13:16   ` Richard Riley [this message]
2010-01-04 15:49     ` Leo
     [not found]   ` <mailman.703.1262611220.18930.help-gnu-emacs@gnu.org>
2010-01-05 17:50     ` Francis Moreau

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='hhspnd$b7h$1@ger.gmane.org' \
    --to=rileyrgdev@gmail.com \
    --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.