From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: How to copy and paste from unity to emacs in the terminal version ? Date: Sun, 17 Aug 2014 01:18:29 +0200 Organization: Aioe.org NNTP Server Message-ID: <87bnrknhve.fsf@debian.uxu> References: <8af43eeb-8822-4b82-88f3-a31c29276bcf@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1408231230 23300 80.91.229.3 (16 Aug 2014 23:20:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 Aug 2014 23:20:30 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 17 01:20:25 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XInGq-0006g0-Il for geh-help-gnu-emacs@m.gmane.org; Sun, 17 Aug 2014 01:20:24 +0200 Original-Received: from localhost ([::1]:36984 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XInGq-0001lR-0J for geh-help-gnu-emacs@m.gmane.org; Sat, 16 Aug 2014 19:20:24 -0400 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 39 Original-NNTP-Posting-Host: SIvZRMPqRkkTHAHL6NkRuw.user.speranza.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:zFSAZJKfQj6C5b1h1LK6XcJWlh8= Mail-Copies-To: never Original-Xref: usenet.stanford.edu gnu.emacs.help:206965 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:99242 Archived-At: Kro Ly 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