I have just started using emacs, so I decided to use cua-mode. I got this weird problem when I'm using macros and copy/cut (C-c/ C-x).
let's assume this simple macro for example: <F3> C-S-right C-c C-v <F4> When I execute it I'm getting this message: After 0 kbd macro iterations: keyboard macro terminated by a command ringing the bell
After some digging I found this at the recording (C-x C-k C-e): Macro:
<C-S-right>
C-c C-c <============== C-c twice!!!!
<timeout>
C-v ;; yank
I think the problem is the second C-c. When I remove the second C-c the macro works as expected. More info from C-h l (after making the macro):
<f3> [kmacro-start-macro-or-insert-counter]
<C-S-right> [right-word]
C-c [cua--prefix-override-handler]
C-c <timeout> [cua-copy-region]
C-v [cua-paste]
<f4> [kmacro-end-or-call-macro]
I'm guessing that I'm not the first one who uses cua-mode and macro, but I didn't found anything on it :(.
How do I fix this problem?
Stop using cua-mode is not an option of me right now.