unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Torben Knudsen <tk@es.aau.dk>
To: help-gnu-emacs@gnu.org
Subject: Re: Copy from emacs to Ubuntu clipboard
Date: Tue, 16 Dec 2008 08:39:25 +0100	[thread overview]
Message-ID: <87ljugvaaa.fsf@es.aau.dk> (raw)
In-Reply-To: mailman.2800.1229356865.26697.help-gnu-emacs@gnu.org

>>>>> "Bourgneuf" == Bourgneuf Francois
>>>>> <francois.bourgneuf@groupe-mma.fr> writes:

Bourgneuf> On Linux, Emacs doesn't interact with the clipboard.  Just
Bourgneuf> add these lines to your .emacs

Bourgneuf> ;; make emacs use the clipboard (setq
Bourgneuf> x-select-enable-clipboard t) (setq
Bourgneuf> interprogram-paste-function
Bourgneuf> 'x-cut-buffer-or-selection-value)

Bourgneuf> Bour9

I have used the separate functions for this now with the key binding

(global-set-key "\C-cw" 'clipboard-kill-ring-save)
(global-set-key "\C-cy" 'clipboard-yank)

if I use 

;; make emacs use the clipboard
(setq x-select-enable-clipboard t)
(setq interprogram-paste-function 'x-cut-buffer-or-selection-value)

then I guess the clipboard functions are not needed?

Are there any disadvantages with the x-select-enable-clipboard t
solution?

-- 
Associate Prof. Ph.D Torben Knudsen Mobile : (+45) 2787 9826 Section
of Automation and Control, Direct : 6 8694 Department of Electronic
Systems, Email : tk@es.aau.dk Aalborg University Fredrik Bajersvej 7
DK-9220 Aalborg Ø Denmark


       reply	other threads:[~2008-12-16  7:39 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2800.1229356865.26697.help-gnu-emacs@gnu.org>
2008-12-16  7:39 ` Torben Knudsen [this message]
2008-12-15 16:00 Copy from emacs to Ubuntu clipboard Bourgneuf Francois
  -- strict thread matches above, loose matches on Subject: below --
2008-12-14 18:07 Barrie Hiern
2008-12-14 22:13 ` Peter Dyballa
2008-12-14 22:24 ` Barrie Hiern
     [not found] ` <mailman.2768.1229292844.26697.help-gnu-emacs@gnu.org>
2008-12-15  7:47   ` Torben Knudsen
2008-12-15  8:03     ` Teemu Likonen
2008-12-15 10:04     ` Peter Dyballa
     [not found]     ` <mailman.2782.1229335480.26697.help-gnu-emacs@gnu.org>
2008-12-15 13:55       ` Jason Rumney
2008-12-15 15:49         ` Peter Dyballa
2008-12-16  3:15 ` excord80
2008-12-30 15:41   ` excord80
2009-01-01  2:14     ` dIbMx2

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=87ljugvaaa.fsf@es.aau.dk \
    --to=tk@es.aau.dk \
    --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).