all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jonathan Groll <lists@groll.co.za>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: pasting text from other program in emacs
Date: Tue, 04 Jan 2011 22:51:34 +0200	[thread overview]
Message-ID: <878vz0bdex.wl%lists@groll.co.za> (raw)
In-Reply-To: <ifvaoq$klf$1@quimby.gnus.org>

On Tue, 04 Jan 2011 15:27:38 +0100, Richard Riley <rileyrg@googlemail.com> wrote:

> Giacomo Boffi <giacomo.boffi@polimi.it> writes:
> 
> > Javier <javier@nospam.com> writes:
> >
> >> Does anybody know how to do to paste text from external programs
> >> into an emacs window?  I am using emacs 23.2.1 and debian Squeeze.
> >
> > $ apt-get remove emacs23-gtk
> > $ apt-get install emacs23-lucid
> 
> This seems very strange advice. How does this solve the problem better
> than the documented emacs clipboard variables?

This has been a very long thread and I may have forgotten now, but I
think the original poster had problems only with copy/paste in `emacs
-nw`.

Hence, emacs22-nox which may be optimised for terminal copy/paste.
Like most of us here I use graphical Emacs though.

In any case, I've been doing some reading tonight and found this
interesting link:

http://shreevatsa.wordpress.com/2006/10/22/emacs-copypaste-and-x/

Which leads to this:
http://hugoheden.wordpress.com/2009/03/08/copypaste-with-emacs-in-terminal/

The provided code makes use of xsel to set the X selection for
terminal based Emacs.

And, this seems to have been covered here before as the code in the
last article has a credit "to Nikolaj Schumacher and Miles Bader on
the help-gnu-emacs mailing list".

Cheers,
Jonathan
--
jjg: Jonathan J. Groll : groll co za
has_one { :blog => "http://bloggroll.com" }



  reply	other threads:[~2011-01-04 20:51 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-31 19:38 pasting text from other program in emacs Javier
2010-12-31 20:20 ` Drew Adams
2010-12-31 20:40 ` Bill O'Connor
2011-01-01  3:05   ` Ugly Ƨǝɒɳ
2010-12-31 20:58 ` Peter Dyballa
     [not found] ` <mailman.1.1293828063.23968.help-gnu-emacs@gnu.org>
2010-12-31 21:22   ` Javier
     [not found] ` <mailman.0.1293826906.23968.help-gnu-emacs@gnu.org>
2010-12-31 21:30   ` Javier
2011-01-01 15:30 ` Steve Revilak
2011-01-01 20:13   ` Jonathan Groll
2011-01-01 19:12 ` prad
     [not found] ` <mailman.1.1293909164.32515.help-gnu-emacs@gnu.org>
2011-01-01 21:05   ` Javier
2011-01-04 13:58 ` Giacomo Boffi
2011-01-04 14:27   ` Richard Riley
2011-01-04 20:51     ` Jonathan Groll [this message]
     [not found]     ` <mailman.0.1294174308.5476.help-gnu-emacs@gnu.org>
2011-01-05  6:31       ` Javier
2011-04-13 17:00 ` Hermann Kleier

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=878vz0bdex.wl%lists@groll.co.za \
    --to=lists@groll.co.za \
    --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.