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

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

Re: Copying text from emacs to another application using M-w


From: tomas
Subject: Re: Copying text from emacs to another application using M-w
Date: Wed, 23 Sep 2009 07:21:37 +0200
User-agent: Mutt/1.5.15+20070412 (2007-04-11)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Sep 22, 2009 at 08:41:55PM -0500, Harry Putnam wrote:
> address@hidden writes:
> 
> > Harry Putnam <address@hidden> writes:

[...]

> Your talking about working inside a running emacs...

It's worth a try, anyway. Grep-find was one of the things which dragged
me to Emacs ;)

But to your original problem...

it sounds very much as if there is some misunderstandings between your
apps to whether they use the "primary" or the "secondary" (or even the
"clipboard") selection (X maintans those three).

Refer to the Emacs manual (section 25.1 "Killing and Yanking on
graphical Displays) as to which selection is set/used whithin Emacs.

(The short story is: C-y takes from the primary selection whenever there
is one -- otherwise take from the top of the kill ring, which is an
Emacs-only stash. The long story is too long for here ;)

There is a command-line utility, xsel, which lets you inspect what's in
a selection. It's not installed by default on modern distros (whereas
they insist on installing an avahi daemon and other useless
abominations, but I disgress). In Debian, for example, there's a package
xsel.

Hope that sets you off in the right direction ;-)

Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFKubBhBcgs9XrR2kYRAlZsAJ0QbLepTe+X8ewyPhItjhXtnYLbmgCfVhbo
mP0Il0huyIH4XUmZ2V/ucEI=
=5MD+
-----END PGP SIGNATURE-----




reply via email to

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