help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Copy/Paste from console emacs client


From: Richard Riley
Subject: Re: Copy/Paste from console emacs client
Date: Mon, 04 Jan 2010 14:16:27 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (gnu/linux)

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 <address@hidden> writes:

> Richard Riley <address@hidden> 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.
>

-- 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]