GNU bug report logs -
#6035
gud-key-prefix
Previous Next
Reported by: Arni Magnusson <arnima <at> hafro.is>
Date: Mon, 26 Apr 2010 01:38:02 UTC
Severity: minor
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #17 received at 6035 <at> debbugs.gnu.org (full text, mbox):
C-c C-char: reserved for major and minor modes (source: elisp manual)
C-x C-char: free game for anyone, potential tug-of-wars between users and
modes, but no should pose no danger of crashing a mode (source: my
interpretation and experience)
Given the nature of Emacs, some tug-of-war of keybindings can be expected.
Many of my mode hooks, for example, rebind M-n and M-p to what I like them
to do, overriding what the mode author thought I might like. This is
harmless, and has not crashed any mode. The elisp manual (23.2.2) allows
major modes to use these and other keystrokes, but I'm sure many Emacs
users have bound them to generic functions they find useful in all modes.
We sound like lawyers here, but all I'm asking is whether it's easy to
prevent M-x gdb from crashing if C-x C-a is bound. If it's not easy, then
so be it; the current error message accurately describes the quirk.
Cheers,
Arni
On Tue, 6 Jul 2010, Lennart Borgman wrote:
> On Tue, Jul 6, 2010 at 2:27 AM, Arni Magnusson <arnima <at> hafro.is> wrote:
>>
>> I can find no warning
>> against redefining C-x C-char, such as C-x C-a.
>
> The elisp manual chapter mentioned before here
>
> (info "(elisp) Key Binding Conventions")
>
> says that
>
> * Sequences consisting of `C-c' followed by a control character or a
> digit are reserved for major modes.
>
> So it looks to me like GUD does follow that rule.
>
> Maybe the error message could include a link to that part of the elisp
> manual, but that would rather be a general thing in Emacs, not
> specific to GUD.
>
This bug report was last modified 3 years and 228 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.