Re: [SOLVED] <C-return> is undefined in nXML mode

John Brown <[email protected]>
Newsgroups gmane.emacs.windows
Message-ID <[email protected]>
Hello All,

I don't know if this is the "right" solution, but I edited
\emacs-installation-dir\lisp\nxml\nxml-mode.el. I found
where (some) bindings were defined:


(defvar nxml-mode-map
  (let ((map (make-sparse-keymap)))
    (define-key map "\M-\C-u" 'nxml-backward-up-element)
    (define-key map "\M-\C-d" 'nxml-down-element)
...
    ;; (define-key map "\M-\t" 'completion-at-point)
    (define-key map [C-return] 'completion-at-point)
map)

I commented out the original binding for completion-
at-point, added a new one and byte-compiled nxml-mode.el.

Regards,
John Brown.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.