GNU bug report logs - #6035
gud-key-prefix

Previous Next

Package: emacs;

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


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Lennart Borgman <lennart.borgman <at> gmail.com>
Cc: Arni Magnusson <arnima <at> hafro.is>, 6035 <at> debbugs.gnu.org, Dmitry Dzhus <dima <at> sphinx.net.ru>
Subject: bug#6035: gud-key-prefix
Date: Sat, 04 Dec 2021 21:47:05 +0100
(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

Lennart Borgman <lennart.borgman <at> gmail.com> writes:

> Yes, the manual says nothing about C-x. In my opinion it should, but
> others disagreed in a recent discussion.

Yes, there's no rules for binding things under `C-x' -- the users can do
that, but modes are free to bind them, too, which is what gdb does.

> And yes, M-x gdb could use a global minor mode for the C-x C-a binding
> to avoid the problem:
>
> (define-key global-map "\C-x\C-a" (lambda () (interactive) (message
> "C-x C-a here!!")))

I don't think a mode here is necessary -- just defining a submap the
normal way should be sufficient.  So I've now done that in Emacs 29,
which makes the test case no longer bug out.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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.