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

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

Re: How to copy and paste from unity to emacs in the terminal version ?


From: Emanuel Berg
Subject: Re: How to copy and paste from unity to emacs in the terminal version ?
Date: Sun, 17 Aug 2014 01:18:29 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Kro Ly <address@hidden> writes:

> Hi, i'm using emacs in the terminal and I'd like to
> know how to copy and paste something from firefox to
> emacs for instance ? Thanks.

In addition to my other post on xsel, I'd like to
mention that a copy-and-paste interface from Emacs to
the outside world is, while useful, still a very
limited interface - and one that isn't programmable.

Emacs is all about automatization. Two things in
sequence that you make into one.

So the best answer is actually: Don't do it! Instead,
use an Emacs based browser, for example w3m - hit the
repositories for 'w3m-el-snapshot'.

Not only will that in an instant solve the clipboard
problem - it will actually solve it in a much better
way, as the Emacs kill ring is much more advanced than
the X clipboard - but the main advantage is that
instead of a mere copy-and-paste interface, you will
have a completely integrated browser. If you are fond
of Lisp, the sky's the limit. [1]

By the way, I just thought of one thing. Unity on
Ubuntu is still on X, or did they switch to Mir yet? In
that case, I don't know if xclip and xsel works. I've
heard of XMir that would bridge the gap, but I've not
seen any of this live. Perhaps you are even using
Kubuntu that would stick with X and switch (?) to
Wayland eventually. It would be nice if you could tell
us a thing or two.

[1] http://user.it.uu.se/~embe8573/conf/emacs-init/w3m/

-- 
underground experts united


reply via email to

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