bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#6035: M-x gdb crashes


From: Dmitry Dzhus
Subject: bug#6035: M-x gdb crashes
Date: Mon, 26 Apr 2010 22:54:48 +0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Arni Magnusson wrote:
> When there is no .emacs file, M-x gdb works fine.
>
> When the .emacs file defines a keybinding for C-x C-a, for example,
>
>   (global-set-key [?\C-x ?\C-a] 'align)
>
> then M-x gdb crashes with the following error message:
>
>   Key sequence C-x C-a C-l starts with non-prefix key C-x C-a
>

C-x C-a is GUD prefix. gdb-mi.el is based on GUD, so it uses its
keybindings too.

> The Emacs documentation indicates that users are allowed to bind C-x
> C- 
> keystrokes to functions that they use in their work.

Which section of Emacs manual says that?

`C-c LETTER` keyspace is reserved for users' needs, as stated in section
«D.2 Key binding conventions» of Emacs Lisp manual.

You can type C-x C-h and see that pretty much of C-x C- keychords are
already occupied by default global bindings.
-- 
Happy Hacking.

http://sphinx.net.ru

reply via email to

[Prev in Thread] Current Thread [Next in Thread]