comp.emacs
[Top] [All Lists]

Re: can Emacs write to the general exchange buffer?

Subject: Re: can Emacs write to the general exchange buffer?
From: David Hansen
Date: Mon, 04 Aug 2008 20:01:38 +0200
Newsgroups: comp.emacs

On Mon, 04 Aug 2008 13:38:34 +0400 Daneel Yaitskov wrote:

> If some text is copied to the exchange buffer by some program using

The problem here lies in the definition of "exchange buffer".

X has the "selection" and the "clipboard" (and AFAIK more than one of
each).  Emacs puts killed and mouse selected text into the "selection".
Most, if not all, X programs will paste this text when you press the
middle mouse or hit <Shift-Insert>.

This should work out of the box.

If you want Emacs to use the "clipboard" (that is what you access in
e.g. GNOME apps via the "Cut" & "Paste" menu entries) you have to tweak
some variables.

Either wait for an answer of someone with a bit more knowledge than me
or M-x apropos RET clipboard RET and try yourself.

David

<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy