unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dmitry Dzhus <dima@sphinx.net.ru>
To: bug-gnu-emacs@gnu.org
Subject: bug#6035: M-x gdb crashes
Date: Mon, 26 Apr 2010 22:54:48 +0400	[thread overview]
Message-ID: <87k4ru6o3r.fsf@sphinx.net.ru> (raw)
In-Reply-To: <alpine.LFD.2.00.1004252212210.19779@hafstormur.hafro.is>

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	other threads:[~2010-04-26 18:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-26  1:37 bug#6035: M-x gdb crashes Arni Magnusson
2010-04-26 18:54 ` Dmitry Dzhus [this message]
2010-07-06  0:27 ` Arni Magnusson
2010-07-06  1:06   ` Lennart Borgman
2010-07-06  8:47     ` Arni Magnusson
2010-07-06  9:32       ` Lennart Borgman
2021-12-04 20:47         ` bug#6035: gud-key-prefix Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k4ru6o3r.fsf@sphinx.net.ru \
    --to=dima@sphinx.net.ru \
    --cc=bug-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).