unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: help-gnu-emacs@gnu.org
Subject: Re: clipboard cut/paste problem
Date: Mon, 2 May 2005 19:05:51 +0200	[thread overview]
Message-ID: <d16344f2a3aaa832c7f5c028b8f340a7@Web.DE> (raw)
In-Reply-To: <1114995583.410098.124540@z14g2000cwz.googlegroups.com>


Am 02.05.2005 um 02:59 schrieb plaut:

> I'm having a problem getting emacs (21.4.1 under Linux) to import text
> from other applications via cut/paste.  I have the following in my
> .emacs:
>
> (setq-default x-select-enable-clipboard t)

You shouldn't do that! By this means everything you kill in GNU Emacs 
is put into the X clipboard and another copy is put into the primary 
selection. This is pollution.

> (setq interprogram-paste-function 'x-cut-buffer-or-selection-value)
>
> Any suggestions?

Deliberately copy something into the clipboard that this gets shared 
among all X clients! Most of what you kill is obviously scrap, 
otherwise you wouldn't kill it, would you? Besides there are in GNU 
Emacs functions like clipboard-kill-region or clipboard-kill-ring-save. 
And check mouse-insert-selection! This is what I use to import 
something into GNU Emacs. And what about 
x-get-selection/x-get-cut-buffer?

--
Greetings

   Pete

  parent reply	other threads:[~2005-05-02 17:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-02  0:59 clipboard cut/paste problem plaut
2005-05-02  2:09 ` plaut
2005-05-02 17:05 ` Peter Dyballa [this message]
     [not found] ` <mailman.444.1115053645.2819.help-gnu-emacs@gnu.org>
2005-05-02 18:55   ` plaut
2005-05-02 19:21     ` plaut
2005-05-07  4:23       ` Ian Zimmerman
     [not found]       ` <mailman.3841.1115440661.2819.help-gnu-emacs@gnu.org>
2005-05-10  1:53         ` plaut

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=d16344f2a3aaa832c7f5c028b8f340a7@Web.DE \
    --to=peter_dyballa@web.de \
    --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).