unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eric Marsden <emarsden@laas.fr>
Subject: Re: copy/paste with other programs
Date: Thu, 06 Nov 2003 18:23:52 +0100	[thread overview]
Message-ID: <wziekwlwguv.fsf@melbourne.laas.fr> (raw)
In-Reply-To: pan.2003.11.06.09.10.31.369509@dahlhoff.biz

>>>>> "os" == Oliver Sturm <o.sturm@dahlhoff.biz> writes:

  os> Very nice text, thanks for that. Still, copying something from Evolution
  os> 1.2 lets me paste it into an xterm window with the middle button, but not
  os> into an Emacs buffer. Instead, it pastes the last thing I copied from
  os> Emacs itself, probably CLIPBOARD instead of PRIMARY. The text says
  os> explicitely
  os> 
  os> middle mouse button should paste PRIMARY, never CLIPBOARD
  os> 
  os> but that's not what Emacs seems to do. Or where am I wrong?

it behaves as expected for me with Emacs 21.2 and 21.3. Check the
value of the variable interprogram-paste-function: it should be
x-cut-buffer-or-selection-value, which checks the PRIMARY selection
first as COMPOUND_TEXT, then as STRING. Also check that
x-select-enable-clipboard is nil.

Try selecting text in Evolution then evaluating

   M-: (x-get-selection 'PRIMARY 'COMPOUND_TEXT)

If that returns the selected text but Emacs middle-click doesn't, I
think it's due to some non-default setting of yours.

-- 
Eric Marsden                          <URL:http://www.laas.fr/~emarsden/>

  reply	other threads:[~2003-11-06 17:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-04 15:16 copy/paste with other programs Oliver Sturm
2003-11-04 19:33 ` roodwriter
2003-11-04 20:02   ` Oliver Sturm
2003-11-05  9:34   ` Oliver Sturm
2003-11-04 22:18 ` Dan Anderson
2003-11-05 17:56 ` Eric Marsden
2003-11-06  9:10   ` Oliver Sturm
2003-11-06 17:23     ` Eric Marsden [this message]
2003-11-07  9:05       ` Oliver Sturm
2003-11-08 19:22         ` Ian Zimmerman

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=wziekwlwguv.fsf@melbourne.laas.fr \
    --to=emarsden@laas.fr \
    /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).