Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Emacs KDE clipboard interaction

21 views
Skip to first unread message

Ivanov Dmitry

unread,
Oct 12, 2012, 6:38:34 AM10/12/12
to help-gn...@gnu.org
I am using Emacs 23.3.1 and KDE 4.5.5 on Linux Slackware. When I select and copy some text in Emacs into the clipboard, using the hotkeys: C-c & Shift-<Ins> this text doesn't appear immidiately in KDE clipboard. But exists at the top of Klipper buffer. So I have to manually select this text and then it's available.

When I copy from the menu, everything works fine. How to learn, which functions called, when copying from the menu, so I could bind it to the hotkeys?


Peter Dyballa

unread,
Oct 12, 2012, 12:00:22 PM10/12/12
to Ivanov Dmitry, help-gn...@gnu.org

Am 12.10.2012 um 12:38 schrieb Ivanov Dmitry:

> How to learn, which functions called, when copying from the menu

<Mark some text> C-h k <then choose the menu entry>

A *Help* has opened and tells which function you had chosen from the menu.


In my version of GNU Emacs 24 I see keyboard shot-cuts displayed for (some of) the menu entries.

--
Greetings

Pete

Almost anything is easier to get into than out of.
– Allen's Law


Ivanov Dmitry

unread,
Oct 12, 2012, 4:04:09 PM10/12/12
to Peter Dyballa, help-gn...@gnu.org
Ok, I found it. The function is called 'clipboard-kill-ring-save', while it was bound to function: 'kill-ring-save'. But I can't reset C-c. It was bound via cua-mode and the standard approach, using global-set-key doesn't work. How to remap C-c to another function?

Peter Dyballa

unread,
Oct 12, 2012, 6:17:23 PM10/12/12
to Ivanov Dmitry, help-gn...@gnu.org

Am 12.10.2012 um 22:04 schrieb Ivanov Dmitry:

> How to remap C-c to another function?

Me, I don't know! What you can do as well is, type C-h b. It will update the *Help* buffer and show you that some key bindings are stored in particular keymaps, that will have to use to change this or that key binding. With cua-mode on you see an even larger chaos. So, I prefer to stay a few light years away from cua-mode and continue to live happily together with GNU Emacs.

--
Greetings

Pete

The best way to accelerate a PC is 9.8 m/s²


0 new messages