* Copy from emacs to Ubuntu clipboard
@ 2008-12-14 18:07 Barrie Hiern
2008-12-14 22:13 ` Peter Dyballa
` (3 more replies)
0 siblings, 4 replies; 13+ messages in thread
From: Barrie Hiern @ 2008-12-14 18:07 UTC (permalink / raw)
To: help-gnu-emacs
How to copy from emacs to OS clipboard???
TIA,
Barrie
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Copy from emacs to Ubuntu clipboard
2008-12-14 18:07 Barrie Hiern
@ 2008-12-14 22:13 ` Peter Dyballa
2008-12-14 22:24 ` Barrie Hiern
` (2 subsequent siblings)
3 siblings, 0 replies; 13+ messages in thread
From: Peter Dyballa @ 2008-12-14 22:13 UTC (permalink / raw)
To: Barrie Hiern; +Cc: help-gnu-emacs
Am 14.12.2008 um 18:07 schrieb Barrie Hiern:
> How to copy from emacs to OS clipboard???
First press the Copy key, then, on the target, press the Paste key.
Or do you have another OS?
--
Greetings
Pete
Klingons do not believe in indentation - except perhaps in the skulls
of their project managers.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Copy from emacs to Ubuntu clipboard
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-16 3:15 ` excord80
3 siblings, 0 replies; 13+ messages in thread
From: Barrie Hiern @ 2008-12-14 22:24 UTC (permalink / raw)
To: help-gnu-emacs
On Sun, 14 Dec 2008 18:07:48 +0000, Barrie Hiern wrote:
> How to copy from emacs to OS clipboard???
>
> TIA,
> Barrie
[SOLVED]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Copy from emacs to Ubuntu clipboard
[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
` (2 more replies)
0 siblings, 3 replies; 13+ messages in thread
From: Torben Knudsen @ 2008-12-15 7:47 UTC (permalink / raw)
To: help-gnu-emacs
>>>>> "Peter" == Peter Dyballa <Peter_Dyballa@Web.DE> writes:
Peter> Am 14.12.2008 um 18:07 schrieb Barrie Hiern:
>> How to copy from emacs to OS clipboard???
Peter> First press the Copy key, then, on the target, press the Paste
Peter> key.
What is the "Copy key"? I guess the paste key (outside emacs) is C-v.
I haave used some binding myself which some times get over writen
which is a little anoining. How do I avoid that?
In my .emacs I have
(global-set-key "\C-c\M-w" 'clipboard-kill-ring-save)
(global-set-key "\C-c\C-y" 'clipboard-yank)
--
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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Copy from emacs to Ubuntu clipboard
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>
2 siblings, 0 replies; 13+ messages in thread
From: Teemu Likonen @ 2008-12-15 8:03 UTC (permalink / raw)
To: help-gnu-emacs
Torben Knudsen (2008-12-15 08:47 +0100) wrote:
>>> How to copy from emacs to OS clipboard???
> What is the "Copy key"? I guess the paste key (outside emacs) is C-v.
>
> I haave used some binding myself which some times get over writen
> which is a little anoining. How do I avoid that?
I don't know if this is relevant but I have set the variable
x-select-enable-clipboard to non-nil and I have always copy-pasted
normally between Emacs and the rest of my KDE system.
M-x customize-option RET x-select-enable-clipboard RET
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Copy from emacs to Ubuntu clipboard
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>
2 siblings, 0 replies; 13+ messages in thread
From: Peter Dyballa @ 2008-12-15 10:04 UTC (permalink / raw)
To: Torben Knudsen; +Cc: help-gnu-emacs
Am 15.12.2008 um 08:47 schrieb Torben Knudsen:
> What is the "Copy key"?
Look on elder Sun keyboards, Type 3 and Type 4! On the left side were
extra-keys titled Copy and Paste.
--
Greetings
Pete
If it does exist, it's out of date.
– Arnold's Second Law of Documentation
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Copy from emacs to Ubuntu clipboard
[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
0 siblings, 1 reply; 13+ messages in thread
From: Jason Rumney @ 2008-12-15 13:55 UTC (permalink / raw)
To: help-gnu-emacs
On Dec 15, 6:04 pm, Peter Dyballa <Peter_Dyba...@Web.DE> wrote:
> Look on elder Sun keyboards, Type 3 and Type 4! On the left side were
> extra-keys titled Copy and Paste.
Past tense? You mean Sun stopped making keyboards with the extra
function keys down the left hand side? The last one I saw was a USB
keyboard, so I assumed they were here to stay.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Copy from emacs to Ubuntu clipboard
2008-12-15 13:55 ` Jason Rumney
@ 2008-12-15 15:49 ` Peter Dyballa
0 siblings, 0 replies; 13+ messages in thread
From: Peter Dyballa @ 2008-12-15 15:49 UTC (permalink / raw)
To: Jason Rumney; +Cc: help-gnu-emacs
Am 15.12.2008 um 14:55 schrieb Jason Rumney:
>> Look on elder Sun keyboards, Type 3 and Type 4! On the left side were
>> extra-keys titled Copy and Paste.
>
> Past tense? You mean Sun stopped making keyboards with the extra
> function keys down the left hand side? The last one I saw was a USB
> keyboard, so I assumed they were here to stay.
OK, Sun Type 5 keyboards had still the left extra columns, and were
still not USB (Mini-DIN connector, like PS/2 mice and other
keyboards). I did not like them because of their design, piece taken
from a cylinder, by which the function keys were very high and showed
kind of a steep rise. And the mouse still was connected to the
keyboard. So only one cable stuck in the Sun. I think the Type 5c
keyboard had an improved usability.
The Type 6 keyboard was more useful then the Type 5. It definitely
had a mechanical mouse. Again the mouse was connected to the
keyboard, which had a Mini-DIN connector. This keyboard has some
extra "multi-media" keys in continuation of the usual function keys
row. It was later converted to become an USB keyboard – if it hasn't
been this from the start! For PC keyboards adapters existed from Mini-
DIN to USB, so presumingly all keyboards manufactured during the last
five or six years are USB under the hood. I wonder whether such an
USB keyboard also stops the Sun when being detached ... (Mini-DIN
connectors can toggle miniature switches built into the receptacle.)
The recent Type 7 keyboard I only know from having it seen once or
twice. It has a more PC keyboard like look, I don't remember whether
it has the two separated extra columns on the left. I do remember a
particular key by which the Sun can be put to sleep. And make it
awake, too.
I'm a bit biased to the Type 4 keyboards. They worked better!
--
Greetings
Pete
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety.
-Benjamin Franklin, Historical Review of Pennsylvania.
^ permalink raw reply [flat|nested] 13+ messages in thread
* RE: Copy from emacs to Ubuntu clipboard
@ 2008-12-15 16:00 Bourgneuf Francois
0 siblings, 0 replies; 13+ messages in thread
From: Bourgneuf Francois @ 2008-12-15 16:00 UTC (permalink / raw)
To: help-gnu-emacs
> -----Message d'origine-----
> De :
> help-gnu-emacs-bounces+francois.bourgneuf=groupe-mma.fr@gnu.or
> g
> [mailto:help-gnu-emacs-bounces+francois.bourgneuf=groupe-mma.f
> r@gnu.org] De la part de Teemu Likonen
> Envoyé : lundi 15 décembre 2008 09:04
> À : help-gnu-emacs@gnu.org
> Objet : Re: Copy from emacs to Ubuntu clipboard
>
> Torben Knudsen (2008-12-15 08:47 +0100) wrote:
>
> >>> How to copy from emacs to OS clipboard???
>
> > What is the "Copy key"? I guess the paste key (outside
> emacs) is C-v.
> >
> > I haave used some binding myself which some times get over writen
> > which is a little anoining. How do I avoid that?
>
> I don't know if this is relevant but I have set the variable
> x-select-enable-clipboard to non-nil and I have always copy-pasted
> normally between Emacs and the rest of my KDE system.
>
> M-x customize-option RET x-select-enable-clipboard RET
>
>
On Linux, Emacs doesn't interact with the clipboard.
Just add these lines to your .emacs
;; make emacs use the clipboard
(setq x-select-enable-clipboard t)
(setq interprogram-paste-function 'x-cut-buffer-or-selection-value)
Bour9
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Copy from emacs to Ubuntu clipboard
2008-12-14 18:07 Barrie Hiern
` (2 preceding siblings ...)
[not found] ` <mailman.2768.1229292844.26697.help-gnu-emacs@gnu.org>
@ 2008-12-16 3:15 ` excord80
2008-12-30 15:41 ` excord80
3 siblings, 1 reply; 13+ messages in thread
From: excord80 @ 2008-12-16 3:15 UTC (permalink / raw)
To: help-gnu-emacs
On Dec 14, 1:07 pm, Barrie Hiern <dpyqg...@trashmail.net> wrote:
> How to copy from emacs to OS clipboard???
>
I select the text in Emacs in the usual way (C-Space then move the
point), then resort to the mouse and use the "Edit --> Copy" menu
item.
Then in some desktop GUI app hit "Ctrl-V" to paste.
Have yet to try Bour9's solution though.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Copy from emacs to Ubuntu clipboard
[not found] <mailman.2800.1229356865.26697.help-gnu-emacs@gnu.org>
@ 2008-12-16 7:39 ` Torben Knudsen
0 siblings, 0 replies; 13+ messages in thread
From: Torben Knudsen @ 2008-12-16 7:39 UTC (permalink / raw)
To: help-gnu-emacs
>>>>> "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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Copy from emacs to Ubuntu clipboard
2008-12-16 3:15 ` excord80
@ 2008-12-30 15:41 ` excord80
2009-01-01 2:14 ` dIbMx2
0 siblings, 1 reply; 13+ messages in thread
From: excord80 @ 2008-12-30 15:41 UTC (permalink / raw)
To: help-gnu-emacs
On Dec 15, 10:15 pm, excord80 <excor...@gmail.com> wrote:
> On Dec 14, 1:07 pm, Barrie Hiern <dpyqg...@trashmail.net> wrote:
>
> > How to copy from emacs to OS clipboard???
>
> I select the text in Emacs in the usual way (C-Space then move the
> point), then resort to the mouse and use the "Edit --> Copy" menu
> item.
>
Just noticed that tapping the F10 key will open the File menu, and
then the arrow keys and RET will get you that menu item as well.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Copy from emacs to Ubuntu clipboard
2008-12-30 15:41 ` excord80
@ 2009-01-01 2:14 ` dIbMx2
0 siblings, 0 replies; 13+ messages in thread
From: dIbMx2 @ 2009-01-01 2:14 UTC (permalink / raw)
To: excord80; +Cc: help-gnu-emacs
excord80 <excord80@gmail.com> writes:
> On Dec 15, 10:15 pm, excord80 <excor...@gmail.com> wrote:
>> On Dec 14, 1:07 pm, Barrie Hiern <dpyqg...@trashmail.net> wrote:
>>
>> > How to copy from emacs to OS clipboard???
>>
>> I select the text in Emacs in the usual way (C-Space then move the
>> point), then resort to the mouse and use the "Edit --> Copy" menu
>> item.
>>
>
> Just noticed that tapping the F10 key will open the File menu, and
> then the arrow keys and RET will get you that menu item as well.
(setq x-select-enable-clipboard t)
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2009-01-01 2:14 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.2800.1229356865.26697.help-gnu-emacs@gnu.org>
2008-12-16 7:39 ` Copy from emacs to Ubuntu clipboard Torben Knudsen
2008-12-15 16:00 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
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).