I am trying to debug code in Emacs, but when I try either M-x gdb, or M-x pdbI get this error:
global-set-key: Key sequence C-x C-a C-l starts with non-prefix key C-x C-a
This most likely comes from this bit in gud.el:
(defcustom gud-key-prefix "\C-x\C-a"
"Prefix of all GUD commands valid in C buffers."
:type 'string
:group 'gud)
(global-set-key (concat gud-key-prefix "\C-l") 'gud-refresh)
I am using GNU Emacs 23.1.95.1 (x86_64-apple-darwin, NS apple-appkit-1038.29) (preliminary test built from emacsformacosx.com I did not modify any things related to the build. My local elisp directories have no changes in gud or gdb variables or hooks.
Concrete questions:
- Has anyone seen / fixed this before?
- If not, how does gud determine the appropriate prefix key on your emacs, not mine?
source
share