I have an odd problem in Aquamacs-- when I am editing in nXML mode the key sequence C-return
calls a completely different function than it should under nXML mode. It calls something called cua-set-rectangle-mark
, instead of nxml-complete
. I have no idea what the CUA mode is, but I tried to just properly remap it with something like this:
(add-hook 'nxml-mode-hook
'(lambda ()
(define-key nxml-mode-map (kbd "C-RET") 'nxml-complete)))
It seems, however, that this CUA mapping overrides even nxml-mode-map within the mode, because this had no effect at all. Am I missing something? Is this a peculiarity of Aquamacs vs. vanilla emacs? My emacs configurations on other machines all work fine with nXML mode, this is only an issue in Aquamacs.