The KDE applications are nicely integrated with respect to text movement: you can copy text from one application and paste it into another one. The same holds true within Emacs. But is there a way to copy text from an Emacs buffer and paste it into a KDE application? If I do an ordinary copy in Emacs and a paste in KDE, the paste doesn't see the Emacs text at all. I know of one way but it's not very elegant: highlight the Emacs area with the mouse and then paste it with the middle mouse button. I'd much rather do it with an Emacs command if that's possible. I think I once found such a command, but I don't remember what it is. Paul
Paul Abrahams wrote:
The KDE applications are nicely integrated with respect to text movement: you can copy text from one application and paste it into another one. The same holds true within Emacs. But is there a way to copy text from an Emacs buffer and paste it into a KDE application?
If I do an ordinary copy in Emacs and a paste in KDE, the paste doesn't see the Emacs text at all. I know of one way but it's not very elegant: highlight the Emacs area with the mouse and then paste it with the middle mouse button. I'd much rather do it with an Emacs command if that's possible. I think I once found such a command, but I don't remember what it is.
I think you're looking for copy-primary-selection. In XEmacs, it's bound to C-insert, YMMV with FSF Emacs. Be sure to check copy&paste of non-ASCII characters if they work. Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod Email: jschrod@acm.org Roedermark, Germany
On Thursday 28 September 2006 4:07 pm, Joachim Schrod wrote:
Paul Abrahams wrote:
The KDE applications are nicely integrated with respect to text movement: you can copy text from one application and paste it into another one. The same holds true within Emacs. But is there a way to copy text from an Emacs buffer and paste it into a KDE application?
If I do an ordinary copy in Emacs and a paste in KDE, the paste doesn't see the Emacs text at all. I know of one way but it's not very elegant: highlight the Emacs area with the mouse and then paste it with the middle mouse button. I'd much rather do it with an Emacs command if that's possible. I think I once found such a command, but I don't remember what it is.
I think you're looking for copy-primary-selection. In XEmacs, it's bound to C-insert, YMMV with FSF Emacs.
There doesn't seem to be a copy-primary-selection command in FSF Emacs. There's something called menu-bar-enable-clipboard that's supposed to cause the Emacs selection to be stored in the X clipboard, but it doesn't put the selection in a place where KDE applications can see it as far as I can tell. Paul
Be sure to check copy&paste of non-ASCII characters if they work.
Joachim
-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod Email: jschrod@acm.org Roedermark, Germany
On Thursday 28 September 2006 20:12, Paul Abrahams wrote:
If I do an ordinary copy in Emacs and a paste in KDE, the paste doesn't see the Emacs text at all. I know of one way but it's not very elegant: highlight the Emacs area with the mouse and then paste it with the middle mouse button. I'd much rather do it with an Emacs command if that's possible. I think I once found such a command, but I don't remember what it is.
Try: Ctrl-insert for COPY and Shift-insert for paste. Works for me under xemacs, both under Linux and Windows. -- ----- stephan@s11n.net http://s11n.net "...pleasure is a grace and is not obedient to the commands of the will." -- Alan W. Watts
participants (3)
-
Joachim Schrod
-
Paul Abrahams
-
stephan beal