Emacs gud raise prefix error

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?
+3
source share
2

. C-x C-a .emacs.

+4

Emacs 23.1.1, Windows Vista matlab (matlab.el) M-x matlab-mode. matlab.el, 2003 , 2010 . http://matlab-emacs.cvs.sourceforge.net/viewvc/ checkout/matlab-emacs/matlab-emacs/matlab.el?revision=1.24

. C-x C- f-open . .

0

Source: https://habr.com/ru/post/1742016/


All Articles