In another question (IDO rebind C-j to C-<RET>), Seraph asked about defining the <C-return> key for ido-mode.
It turned out that the key was already bound in cua-global-keymap, which overrode its binding in ido-common-completion-map.
Steps to reproduce:
emacs -QM-x cua-mode RETM-x ido-mode RET(define-key ido-common-completion-map (kbd "<C-return>") (lambda () (interactive) (message "C-j called")))C-x C-eM-x ido-dired RETC-h k C-return
Which turns out to be bound to cua-set-rectangle-mark in cua-global-keymap, as opposed to the anonymous command above in ido-completion-map.
As a workaround, I recommended removing the definition in cua-global-map.
Question: is there a way to make the definition in ido-common-completion-map override the definition in cua-global-map?