unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Lennart Borgman <lennart.borgman@gmail.com>
Cc: Arni Magnusson <arnima@hafro.is>,
	6035@debbugs.gnu.org, Dmitry Dzhus <dima@sphinx.net.ru>
Subject: bug#6035: gud-key-prefix
Date: Sat, 04 Dec 2021 21:47:05 +0100	[thread overview]
Message-ID: <87k0gk2j3q.fsf_-_@gnus.org> (raw)
In-Reply-To: <AANLkTinnElV4joUX8yPW11_tm9fGbpAdwKenUYo9-VIN@mail.gmail.com> (Lennart Borgman's message of "Tue, 6 Jul 2010 11:32:59 +0200")

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

Lennart Borgman <lennart.borgman@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





      reply	other threads:[~2021-12-04 20:47 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
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         ` Lars Ingebrigtsen [this message]

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=87k0gk2j3q.fsf_-_@gnus.org \
    --to=larsi@gnus.org \
    --cc=6035@debbugs.gnu.org \
    --cc=arnima@hafro.is \
    --cc=dima@sphinx.net.ru \
    --cc=lennart.borgman@gmail.com \
    /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).