unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: How to copy and paste from unity to emacs in the terminal version ?
Date: Sun, 17 Aug 2014 01:18:29 +0200	[thread overview]
Message-ID: <87bnrknhve.fsf@debian.uxu> (raw)
In-Reply-To: 8af43eeb-8822-4b82-88f3-a31c29276bcf@googlegroups.com

Kro Ly <mnmnmnmna@gmail.com> 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


  parent reply	other threads:[~2014-08-16 23:18 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-16  8:57 How to copy and paste from unity to emacs in the terminal version ? Kro Ly
     [not found] ` <7zmwb4vggo.fsf@example.com>
2014-08-16 11:29   ` Quanyang Liu
2014-08-16 12:51     ` Grant Rettke
     [not found]   ` <mailman.7137.1408188625.1147.help-gnu-emacs@gnu.org>
2014-08-16 21:45     ` Emanuel Berg
2014-08-17  1:16       ` Quanyang Liu
     [not found]       ` <mailman.7148.1408238240.1147.help-gnu-emacs@gnu.org>
2014-08-17  2:26         ` Emanuel Berg
2014-08-18 15:22     ` Kro Ly
2014-08-18 15:37       ` Yuri Khan
     [not found]       ` <7zy4ulojs7.fsf@example.com>
2014-08-18 17:45         ` Subhan Michael Tindall
2014-08-18 17:54           ` Bob Proulx
2014-08-18 18:20             ` Stefan Monnier
2014-08-19  0:17               ` Bob Proulx
2014-08-19  1:41                 ` Stefan Monnier
2014-08-18 21:41         ` Emanuel Berg
2014-08-18 22:11           ` Emanuel Berg
     [not found]           ` <7z7g25za4u.fsf@example.com>
2014-08-18 23:03             ` Emanuel Berg
     [not found]               ` <7zsiksvpg9.fsf@example.com>
2014-08-19 16:49                 ` Emanuel Berg
2014-08-19 22:59                   ` Emanuel Berg
     [not found]       ` <mailman.7192.1408376274.1147.help-gnu-emacs@gnu.org>
2014-08-18 20:12         ` Kro Ly
2014-08-19  2:41           ` Yuri Khan
2014-08-20  5:40             ` Bob Proulx
     [not found]             ` <mailman.7266.1408513264.1147.help-gnu-emacs@gnu.org>
2014-08-20 17:28               ` Emanuel Berg
2014-08-21  3:43                 ` Yuri Khan
     [not found]                 ` <mailman.7303.1408592631.1147.help-gnu-emacs@gnu.org>
2014-08-22  0:09                   ` Emanuel Berg
2014-08-16 23:18 ` Emanuel Berg [this message]
2014-08-17  1:22   ` Quanyang Liu
     [not found]   ` <mailman.7149.1408238590.1147.help-gnu-emacs@gnu.org>
2014-08-17  2:34     ` Emanuel Berg
     [not found]   ` <7zvbpr8qxe.fsf@example.com>
     [not found]     ` <87sikv9cal.fsf_-_@debian.uxu>
2014-08-17 19:45       ` how to determine if to reply by CC as well (was: Re: How to copy and paste from unity to emacs in the terminal version ?) Emanuel Berg
     [not found]         ` <7zoavin7e5.fsf@example.com>
2014-08-17 21:53           ` how to determine if to reply by CC as well Emanuel Berg
2014-08-18  0:27             ` Quanyang Liu
2014-08-18 17:46               ` Bob Proulx
2014-08-19  9:07                 ` Quanyang Liu
     [not found]               ` <mailman.7199.1408384010.1147.help-gnu-emacs@gnu.org>
2014-08-18 21:56                 ` Emanuel Berg
2014-08-19  0:30                   ` Bob Proulx
     [not found]                   ` <mailman.7218.1408408231.1147.help-gnu-emacs@gnu.org>
2014-08-19  1:22                     ` Emanuel Berg
2014-08-19 14:25                       ` Will Parsons
2014-08-19 14:59                         ` Quanyang Liu
2014-08-19 17:06                         ` Emanuel Berg
2014-08-18 12:57 ` How to copy and paste from unity to emacs in the terminal version ? Robert Thorpe
2014-08-18 15:46 ` Stefan Monnier
     [not found] <7z38cuorvf.fsf@example.com>
2014-08-18 19:02 ` Robert Thorpe
2014-08-18 20:44   ` Dale Snell

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bnrknhve.fsf@debian.uxu \
    --to=embe8573@student.uu.se \
    --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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).