Re: Need help with function

[email protected] Mon, 19 Jul 2004 10:17:14 +0200
Newsgroups gmane.emacs.xemacs.general
Message-ID <[email protected]>
Hello Glynn,

>> But there is still a problem: It seems "own-clipboard" uses the wrong 
>> clipboard: I can paste the desired string with 
"yank-clipboard-selection", 
>> but not with the middle mouse button. I'll have to find another 
function 
>> to fill the clipboard...

>own-clipboard just calls own-selection with a "type" argument of
>'CLIPBOARD; try using (own-selection  'PRIMARY) instead, i.e.:

Don't know why, but this didn't work for me... But some search showed me 
the function "x-store-cutbuffer" and now I have exactly what I wanted :) 
Now I only have to find out how to add "my" (aehem) function to the menu 
that appears when I press the right mouse button.

Many thanks for your help,

Markus Grunwald
Softwareentwicklung

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200